Exemple #1
0
 private void SettingsForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     settingsForm = new SettingsForm();
     settings     = new Settings();
     cc.del();
     cc = new classContainer(buttonShowClick, actTutorClick, getTutorClick, classChatClick);
     for (int i = 0; i < settings.GetSetting("class").Split(',').Length; i++)
     {
         cc.add(settings.GetSetting("class").Split(',')[i], panel1);
     }
 }
Exemple #2
0
 private void HHForm_Load(object sender, EventArgs e)
 {
     settings                 = new Settings();
     settingsForm             = new SettingsForm();
     settingsForm.FormClosed += SettingsForm_FormClosed;
     cc = new classContainer(buttonShowClick, actTutorClick, getTutorClick, classChatClick);
     for (int i = 0; i < settings.GetSetting("class").Split(',').Length; i++)
     {
         cc.add(settings.GetSetting("class").Split(',')[i], panel1);
     }
     ss = new ChatClient(10, newData, settings.GetSetting("name"));
 }