Access mainpage content from other page loaded in frame [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm developing a program in C# & XAML where my MainPage has two frames, one of which is an entire page.
I want to load another page inside the Inner frame of MainPage, which has a number of buttons. By pressing one of them, I want to load the Third Page in my Whole Page Frame (bigger frame).
Any suggestions to make this happen?

"frame" being the name of the frame you want your page to appear on and "ThirdPage" a page item of your project, you could add the code below to the button click event you are talking about:
frame.NavigationService.Navigate(new ThirdPage());

Related

How to find a missing button on windows form without too many changes? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
What can I use to view all the controls on a form if everything is overlapping each other etc. Don't want to touch it yet, just view, make sure they're there.
You could use the "Document Outline" window (view ==> other windows ==> Document Outline) to see all control inside the form and select them from there.
Try to use Document outline in visual studio.
View - Other Windows - Document outline or ctrl + alt + t. It should show you win form controls structure.

c# autocad dialog box to detect a new active drawing [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a modeless dialog box displaying drawing information. is there a way to detect when another drawing is active and update the dialog box to show the new drawings information?
You should be using a paletteset instead of a modeless window.
Also, google AutoCAD document events.

Using same menu on multiple pages ASP.NET [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to make one menu and using it on every web page I have instead of copying the same code in every file. This way I can change the menu in one file instead of 5.
I'm using ASP.NET Web Forms application (aspx-files).
I've tried googling it but the only result I get is PHP related, isn't there a way to do it with aspx/html files?
I think you're looking for master pages: https://msdn.microsoft.com/en-us/library/wtxbf3hh%28v=vs.140%29.aspx
You can create your menu in Web user control and then include it where ever you need
This link can show you how to add Menu bar in Master page, If Menu bar is in master page then you don't need to change the code in every page.
Master Page with Menu bar

Creating a visual GUI [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to know how to create an custom user interface for a program I am making.
What I want to add besides the default buttons and text boxes is an raster image frame inside of the application and some raster image buttons that change their animation/image.
And also learn how to draw additional items on the screen (buttons, input boxes) after pressing the desired selector button (for input types).
All in all - I would appreciate it if some one pointed me to a tutorial for this or code examples I can learn from.
You have http://www.wpftutorial.net/ to learn how to create WPF interfaces (Windows Presentation Foundation) for Windows / Phone.

How can hide controls in Windows Form Application without hide base form [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i'm sorry for poor English.
I have a form in my C# Winform Application. This form includes controls such as Label,TextBox...!
how can i hide Form without hide it's controls?!!
For example it use in create User Control such as DateTimePicker,...
how do work hidden and show calendar box in DateTimepicker?!!!!!!!!!!!!!
Well this isn't possible since the form is the root element and making it invisible automatically hides the children inside,
you can cleverly customize the height and width somehow according to your needs.

Categories

Resources