How to change a window layout on a button press? [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
what I am asking is when writing WPF applications in C# how can I get it so on a press of the menu bar the window changes to a different layout with different feature.

I think you should use a TabControl, see https://msdn.microsoft.com/en-us/library/system.windows.controls.tabcontrol(v=vs.110).aspx

Related

Xamarin click event to page background [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 2 years ago.
Improve this question
I need to create a click event that is trigged when the background of the page (Main page) is clicked/tapped.
I figured it out, you need to add a tap event to the layout (Stack layout in my case)
More info: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/tap

How to make a form "reload"? [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 6 years ago.
Improve this question
After opening a WinForm I want to have a button that "reloads" the form. I want to make the Load Event run again.
Is that a way? Thanks!
Just call it again like this:
Form1_Load(null, EventArgs.Empty);
Just remember to use your own form's name
I hope this helps.

How to open a file using a text path [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 8 years ago.
Improve this question
I want to write a code in click event of Open button which should Open File Specified in Textbox.
Is there any code wich can do this Task?
maybe System.Diagnostics.Process.Start(textBox1.Text)

How do I put an image in VisualStudio with C#? [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 8 years ago.
Improve this question
I really don't know how to put an image in my form.
Can someone help me out?
If it is WindowsForms that you are using, you can use the PictureBox control.

How to create Multi-Window/page Application in WPF [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 9 years ago.
Improve this question
I am new in WPF & i have to create multi-page application in WPF, in other words an application which just consists of one window but it has multiple pages.
How to Create this application from starting kindly help.

Categories