예제 #1
0
 private void menu_agenda_click(object sender, EventArgs e)
 {
     //restart_window();
     this.Visible = false;
     agenda a = new agenda();
     a.ShowDialog();
     this.Close();
 }
예제 #2
0
 private void OKButton_Click(object sender, EventArgs e)
 {
     string username = UsernameBox.Text;
     string passwd = PasswordBox.Text;
     bool x = Login.verify(username, passwd);
     if (x)
     {
         //MessageBox.Show("Succes ");
         //ManageAgenda.get_datatable();
         this.Visible = false;
         agenda a = new agenda();
         a.ShowDialog();
         this.Close();
     }
     else
     {
         MessageBox.Show("Numele sau parola sunt gresite.\nReincercati");
     }
 }
예제 #3
0
 private void restart_window()
 {
     this.Visible = false;
     agenda a = new agenda();
     a.ShowDialog();
     this.Close();
 }