Exemplo n.º 1
0
 private void metroTileClass_Click(object sender, EventArgs e)
 {
     try
     {
         countClasses++;
         ClassName fm = new ClassName();
         fm.Text = "Class";
         Utilities.WhichNotation(fm.Text);
         fm.MdiParent = this;
         fm.Show();
     }
     catch (Exception err)
     {
         //el = new ErrorList(err.Message, 'e');
         el.Show();
     }
 }
Exemplo n.º 2
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();
     }
 }
Exemplo n.º 3
0
 private void ClassName_Load(object sender, EventArgs e)
 {
     try
     {
         cn = new ClassName();
         if (Utilities.getNotation == "enum")
         {
             panelOpertns.Visible        = false;
             toolStripOperations.Visible = false;
             txtBoxMethods.Visible       = false;
             this.Size             = new Size(241, 244);
             filingButton.Location = new Point(0, 183);
         }
     }
     catch (Exception err)
     {
         el = new ErrorList(err.Message, 'e');
         el.Show();
     }
 }