Answer the question
In order to leave comments, you need to log in
How to save new tabpage tabs?
How to save new tabpage tabs?
A professional can handle such a complex issue !!!
how to save a tabpage tab from tabcontrol, which a new one was called with a button? so that on a new entry it remains. Save the text in the textbox without problems, when you open it again everything remains, but I can’t save the tab and find it too. for example, it's like in any browser there is a setting so that all open tabs are saved. below is the usual example of calling tabs .. and then how to save help. I'm still a big newbie.
private void NewTab()
{
TabPage tab = new TabPage();
TabControl1.Controls.Add(tab);
}
private void button1_Click(object sender, EventArgs e)
{
New Tab();
}
do not need examples with text. it is necessary for this example that
they should be added and removed indefinitely and saved at the start of the program.
Answer the question
In order to leave comments, you need to log in
It is necessary to save the state of the program between launches, for example, to a file.
Recently, two students claimed that it would not be possible to save with such a code, and I'm starting to believe it :\
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question