コード例 #1
0
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     try //EKLE
     {
         frmMusteriEkle frmMusteriEkle = new frmMusteriEkle("-1");
         frmMusteriEkle.ShowDialog();
     }
     catch (Exception hata)
     {
         MessageBox.Show(hata.Message);
     }
 }
コード例 #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);
            }
        }
コード例 #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);
            }
        }