Beispiel #1
0
 private void btnLogin_Click(object sender, EventArgs e)
 {
     if (txtUserName.Text == "musteriler" && txtpassword.Text == "12345")
     {
         // anasayfa.ActiveForm.Visible = false;
         MusterilerForm musteriler = new MusterilerForm();
         musteriler.ShowDialog();
         //  this.Hide();
     }
     else
     {
         MessageBox.Show("The User name or password you entered is incorrect, try again");
         txtpassword.Clear();
         txtUserName.Clear();
         txtUserName.Focus();
     }
 }
 private void btnMusteriler_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     _musterilerForm           = new MusterilerForm();
     _musterilerForm.MdiParent = this;
     _musterilerForm.Show();
 }