How to make so that when pressing the button opened a copy of the program?

How to make so that when najatii the button opened another window with the same program?172cc1fd0283490bb3addf124b655596.png
July 8th 19 at 11:59
4 answers
July 8th 19 at 12:01
The easiest option is just to create even 1 specimen of your form and call the method Show().
For example, suppose the class your form has the name WBrowser you can in the handler, you run the following code:
var wnd = new WBrowser();
July 8th 19 at 12:03
You can use TabControl. How to make is written here.
July 8th 19 at 12:05
using System.Diagnostics;
string exePath = Process.GetCurrentProcess().MainModule.FileName;
string arguments = "";
Process.Start(exePath, arguments);
July 8th 19 at 12:07
new Form().Show();

Find more questions by tags C#