Пример #1
0
 private void metroTileStruct_Click(object sender, EventArgs e)
 {
     try
     {
         ClassName  fm = new ClassName();
         MainScreen mn = new MainScreen();
         fm.Text      = "Structure";
         fm.MdiParent = this;
         Utilities.WhichNotation(fm.Text);
         fm.Show();
     }
     catch (Exception err)
     {
         el = new ErrorList(err.Message, 'e');
         el.Show();
     }
 }
Пример #2
0
 private void timerProgressBar_Tick(object sender, EventArgs e)
 {
     try
     {
         this.progressBar.Increment(1);
         if (progressBar.Value == 50)
         {
             timerProgressBar.Enabled = false;
             this.Hide();
             MainScreen ob = new MainScreen();
             ob.Show();
         }
     }
     catch (Exception err)
     {
         el = new ErrorList(err.Message, 'e');
         el.Show();
     }
 }