Beispiel #1
0
 private void goToButton_Click(object sender, EventArgs e)
 {
     if (whatTableIs() == "")
     {
         MessageBox.Show("Выберите позицию из списка!");
     }
     else if (whatTableIs().StartsWith("R"))
     {
         References r = new References(shower.SelectedIndex);
         r.Show();
     }
     else if (whatTableIs().StartsWith("T01"))
     {
         Personalities p = new Personalities();
         p.Show();
     }
     else if (whatTableIs().StartsWith("T02") || whatTableIs().StartsWith("T03") || whatTableIs().StartsWith("T04") || whatTableIs().StartsWith("T05"))
     {
         Tests t = new Tests(shower.SelectedIndex);
         t.Show();
     }
     else if (whatTableIs().StartsWith("T06") || whatTableIs().StartsWith("T07") || whatTableIs().StartsWith("T08"))
     {
         Files f = new Files(shower.SelectedIndex);
         f.Show();
     }
     else if (whatTableIs().StartsWith("T09") || whatTableIs().StartsWith("T10"))
     {
         Others o = new Others(shower.SelectedIndex);
         o.Show();
     }
 }
Beispiel #2
0
        private void T02addMethodMaterial_Click(object sender, EventArgs e)
        {
            References r = new References(6);

            r.Show();
        }