private void btn_giris_Click(object sender, EventArgs e)
 {
     MessageBoxEx.EnableGlass         = false;
     MessageBoxEx.MessageBoxTextColor = Color.Black;
     if (Func.KullaniciKontrol(txt_KAdi.Text, txt_Sifre.Text))
     {
         ActiveForm.Hide();
         Form_Ana frm = new Form_Ana();
         frm.Show();
     }
     else
     {
         MessageBoxEx.Show("   Kullanıcı adı ve şifreyi hatalı veya eksik girdiniz!!!   ", "Dikkat", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Пример #2
0
        private void KasaForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            Form_Ana frm1 = new Form_Ana();

            frm1.Show();
        }
        private void Form_Stok_FormClosing(object sender, FormClosingEventArgs e)
        {
            Form_Ana frma = new Form_Ana();

            frma.Show();
        }