Ejemplo n.º 1
0
 private void btnCariHrAc_Click(object sender, EventArgs e)
 {
     if (gridView1.RowCount == 0)
     {
         return;
     }
     if (Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.CariKartHareketi))
     {
         Cari.CariHr.frmCariHrKarti frm = new frmCariHrKarti((int)gridView1.GetFocusedRowCellValue("CariHrID"));
         frm.MdiParent = this.MdiParent;
         frm.Show();
     }
     if (Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.AlisFaturasi) || Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.SatisFaturasi) || Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.AlistanIadeFaturasi) || Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.SatistanIadeFaturasi))
     {
         Fatura.frmFaturaDetay frm = new Fatura.frmFaturaDetay((int)gridView1.GetFocusedRowCellValue("EntegrasyonID"));
         frm.MdiParent = this.MdiParent;
         frm.Show();
     }
     if (Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.AlinanCek) || Convert.ToInt32(gridView1.GetFocusedRowCellValue("Entegrasyon")) == Convert.ToInt32(clsTablolar.cari.CariHr.CariHrEntegrasyon.VerilenCek))
     {
         Cek.frmCekKarti frm = new Cek.frmCekKarti((int)gridView1.GetFocusedRowCellValue("EntegrasyonID"));
         frm.MdiParent = this.MdiParent;
         frm.Show();
     }
 }
Ejemplo n.º 2
0
 private void btnCariHrEkle_Click(object sender, EventArgs e)
 {
     if (gvCari.RowCount == 0)
     {
         return;
     }
     Cari.CariHr.frmCariHrKarti CariHareket = new Cari.CariHr.frmCariHrKarti(-1, Convert.ToInt32(gvCari.GetFocusedRowCellValue("CariID")));
     CariHareket.MdiParent = this.MdiParent;
     CariHareket.Show();
 }
Ejemplo n.º 3
0
 private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     Cari.CariHr.frmCariHrKarti frm = new CariHr.frmCariHrKarti(-1, cari.CariID);
     frm.MdiParent = this.MdiParent;
     frm.Show();
 }
Ejemplo n.º 4
0
 private void barButtonItem32_ItemClick(object sender, ItemClickEventArgs e)
 {
     Cari.CariHr.frmCariHrKarti frm = new Cari.CariHr.frmCariHrKarti(-1);
     FormuAc(frm);
 }