Here is a general and very useful way for saving and loading textbox control content for Windows Forms. This example includes Tab Controls in a form. So for any textbox that exists in any Tab Control, all textbox contents get saved. The file format is simple. First it writes the name of the textbox then the value of the textbox.

      private void SaveControlData(string filename)
        {
            using (StreamWriter sw = new StreamWriter(filename))
            {
                foreach (Control control in this.Controls)
                {
                    if (control is TabControl)
                    {
                        TabControl tabc = (TabControl)control;
                        foreach (TabPage tabPage in tabc.TabPages)
                        {
                            foreach (Control tb in tabPage.Controls)
                            {
                                if (tb is TextBox)
                                {
                                    if (tb.Text.ToString().Length > 0)
                                    {
                                        string tbstr = tb.Name.ToString();
                                        sw.WriteLine(tbstr);
                                        sw.WriteLine(tb.Text);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        private void LoadControlData(string filename)
        {
            using (StreamReader sr = new StreamReader(filename))
            {
                string tbstr;

                while ((tbstr = sr.ReadLine()) != null)
                {
                    foreach (Control control in this.Controls)
                    {
                        if (control is TabControl)
                        {
                            TabControl tabc = (TabControl)control;
                            foreach (TabPage tabPage in tabc.TabPages)
                            {
                                foreach (Control tb in tabPage.Controls)
                                {
                                    if (tb is TextBox)
                                    {
                                        if (tb.Name == tbstr)
                                        {
                                            tb.Text = sr.ReadLine();
                                            break;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }