Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (tabControl1.SelectedTab == sheetTab)
     {
         AddSheetForm sheetForm = new AddSheetForm(null);
         sheetForm.Show();
     }
     else if (tabControl1.SelectedTab == edgeTab)
     {
         AddEdgeForm edgeForm = new AddEdgeForm(null);
         edgeForm.Show();
     }
     else if (tabControl1.SelectedTab == lamTab)
     {
         AddLamForm lamForm = new AddLamForm(null);
         lamForm.Show();
     }
 }
Beispiel #2
0
 private void laminateToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AddLamForm lamForm = new AddLamForm(null);
     lamForm.Show();
 }