Пример #1
0
 private void SectionBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (SectionBox.SelectedIndex != -1)
     {
         FormAdministrator.CurrentFolder = SectionBox.SelectedTab.Text;
         ActionAdministrator.Load();
         EventsAdministrator.Load();
     }
 }
Пример #2
0
 public Form1()
 {
     InitializeComponent();
     FormAdministrator.main = this;
     SectionAdministrator.Load();
     if (SectionBox.TabPages.Count != 0)
     {
         FormAdministrator.CurrentFolder = SectionBox.TabPages[0].Text;
     }
     ActionAdministrator.Load();
     EventsAdministrator.Load();
 }