示例#1
0
 private void btnEkle_Click_1(object sender, EventArgs e)
 {
     using (frmGiderKarti frm = new frmGiderKarti(-1, PersonelID))
     {
         if (frm.ShowDialog() == DialogResult.Yes)
         {
             Getir();
         }
     }
 }
示例#2
0
        private void btnDuzelt_Click(object sender, EventArgs e)
        {
            if (gridView1.RowCount == 0)
            {
                return;
            }

            using (frmGiderKarti frm = new frmGiderKarti(Convert.ToInt32(gridView1.GetFocusedRowCellValue("KasaHrID")), PersonelID))
            {
                if (frm.ShowDialog() == DialogResult.Yes)
                {
                    Getir();
                }
            }
        }