private void simpleButton1_Click(object sender, EventArgs e)
 {
     try //EKLE
     {
         frmMusteriEkle frmMusteriEkle = new frmMusteriEkle("-1");
         frmMusteriEkle.ShowDialog();
     }
     catch (Exception hata)
     {
         MessageBox.Show(hata.Message);
     }
 }
Exemple #2
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            try
            {
                frmMusteriEkle frmMusteriEkle = new frmMusteriEkle("-1");
                frmMusteriEkle.FormClosed += FrmMusteriEkle_FormClosed;

                frmMusteriEkle.ShowDialog();
            }
            catch (Exception hata)
            {
                MessageBox.Show(hata.Message);
            }
        }
Exemple #3
0
        private void btnGuncelle_Click(object sender, EventArgs e)
        {
            try
            {
                frmMusteriEkle frmMusteriEkle = new frmMusteriEkle(gvList.GetFocusedRowCellDisplayText("CustomerId"));

                frmMusteriEkle.FormClosed += FrmMusteriEkle_FormClosed;

                frmMusteriEkle.ShowDialog();
            }
            catch (Exception hata)
            {
                MessageBox.Show(hata.Message);
            }
        }