private void ürünGüncelleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UrunGuncelle urunGuncelle = new UrunGuncelle();;

            urunGuncelle.Show();
            Close();
        }
Exemplo n.º 2
0
 private void Urunislemleriformu_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Escape)
     {
         iptal.PerformClick();
     }
     if (e.KeyCode == Keys.F2)
     {
         UrunSil.PerformClick();
     }
     if (e.KeyCode == Keys.F1)
     {
         UrunGuncelle.PerformClick();
     }
 }
Exemplo n.º 3
0
        private void güncelleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form Kontrol = Application.OpenForms["UrunGuncelle"];

            if (Kontrol == null)
            {
                UrunGuncelle guncelleForm = new UrunGuncelle(Temp);
                guncelleForm.MdiParent     = MdiParent;
                guncelleForm.StartPosition = FormStartPosition.CenterParent;
                guncelleForm.Show();
            }
            else
            {
                acıkForm = Application.OpenForms["UrunGuncelle"];
                acıkForm.Focus();
            }
        }