예제 #1
0
 private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         StokDetay.urunkod = id;
         StokDetay sd = new StokDetay();
         sd.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Hata SL2: " + ex);
     }
 }
예제 #2
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                DataRow dr = gridView1.GetDataRow(gridView1.FocusedRowHandle);
                kod = dr["Kod"].ToString();
                did = dr["ID"].ToString();
                StokDetay.urunkod = did;

                StokDetay sd = new StokDetay();
                sd.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Hata 1: " + ex);
            }
        }