You need to make a window, which when you click on the button will open a second window (to add a new file). Suppose there will be a "add" button when clicked, the second window will be displayed \ open, in which you will need to fill in several text blocks, and when you click save, all this will be saved in this file. In general, just about how to create a second window in Windows forms. Something like a dialog box with a button.
1 answer
Create a new form, add everything you need there, then write the following to the button "add" in the main form:
Form2 frm2 = new Form2(); //где Form2 - название вашей формы frm2.Show(); - metanit.com/sharp/windowsforms/2.3.php thanks for the link Bulson - LORD
|