Beispiel #1
0
 public menu()
 {
     InitializeComponent();
     IsMdiContainer  = true;
     this.flagBar    = true;
     this.flagSchBar = true;
     tis             = this;
 }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         c = new Connection();
         //c.ConString = "data source = ORCL;";
         c.ConString = "data source = xe;";
         c.connCall(textBox1.Text, textBox2.Text);
         menu f = new menu();
         f.Show();
         this.Hide();
         Master m = new Master(c);
         m.test();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }