Ejemplo n.º 1
0
 public menu()
 {
     InitializeComponent();
     IsMdiContainer  = true;
     this.flagBar    = true;
     this.flagSchBar = true;
     tis             = this;
 }
Ejemplo n.º 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);
     }
 }