예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         if (label4.Text == w)
         {
             login1 l = new login1();
             BANK   d = new BANK();
             this.Hide();
             ActiveForm.MainMenuStrip.Items.Clear();
             welcome1 y = new welcome1();
             y.MdiParent = this.MdiParent;
             y.Show();
             this.Close();
         }
         else
         {
             ss.Speak("invalid id or password");
             MessageBox.Show("invalid id or password");
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         if (label4.Text == w)
         {
             login1 l = new login1();
             BANK d = new BANK();
             this.Hide();
             ActiveForm.MainMenuStrip.Items.Clear();
             welcome1 y = new welcome1();
             y.MdiParent = this.MdiParent;
             y.Show();
             this.Close();
         }
         else
         {
            ss.Speak("invalid id or password");
             MessageBox.Show("invalid id or password");
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
예제 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            BANK b = new BANK();

            b.ShowDialog();
        }
예제 #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            BANK b = new BANK();

               b.ShowDialog();
        }