How to make a form "reload"? [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 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.

Related

How to change a window layout on a button press? [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 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

how to print a page using asp:button in 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 7 years ago.
Improve this question
I want print the current page when click on asp:button. How can to achieve that?
I have google this thing for help but every time I end up finding it for windows application and I am working on web application in .net.
Is there any command or any jquery which can help me to do that?
Please suggest something!
You can try window.print() (javascript):
http://www.w3schools.com/jsref/met_win_print.asp

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 get assembly codes which access memory section in other process ? - 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 9 years ago.
Improve this question
I mean how can i make function like "Find out what accesses this address" in Cheat engine.
I need a quick good Function
and thanks
IDebugControl::AddBreakpoint.

Categories