Exemplo n.º 1
0
 private void btnCariHareketHizli_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId));
         string         secilenAd = gridView1.GetFocusedRowCellValue(colCariAdi).ToString();
         frmCariHareket form      = new frmCariHareket(Convert.ToInt32(secilen));
         form.ShowDialog();
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemplo n.º 2
0
 private void btnCariEkstre_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (gridView1.RowCount != 0)
     {
         secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId));
         string         secilenAd = gridView1.GetFocusedRowCellValue(colCariAdi).ToString();
         frmCariHareket form      = new frmCariHareket(Convert.ToInt32(secilen));
         form.ShowDialog();
     }
     else
     {
         MessageBox.Show("Seçili Cari Bulunamadı");
     }
 }
Exemplo n.º 3
0
 private void btnCariHareket_Click(object sender, EventArgs e)
 {
     try
     {
         if (gridView1.RowCount != 0)
         {
             secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId));
             string         secilenAd = gridView1.GetFocusedRowCellValue(colCariAdi).ToString();
             frmCariHareket form      = new frmCariHareket(Convert.ToInt32(secilen));
             form.ShowDialog();
         }
         else
         {
             MessageBox.Show("Seçili Cari Bulunamadı");
         }
     }
     catch (Exception)
     {
         MessageBox.Show("Seçili Cari Bulunamadı");
     }
 }