Exemple #1
0
        private void _barAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            BasicClass.cResult cr = new BasicClass.cResult();
            cr.TextChanged += new BasicClass.TextChangedHandler(cr_TextChanged);
            Form fr = new frBrandOne(cr, 0);

            fr.ShowDialog();
        }
Exemple #2
0
 private void _barEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (gridView1.FocusedRowHandle > -1)
     {
         BasicClass.cResult cr = new BasicClass.cResult();
         cr.TextChanged += new BasicClass.TextChangedHandler(cr_TextChanged);
         Form fr = new frBrandOne(cr, int.Parse(gridView1.GetFocusedRowCellValue(_coID).ToString()));
         fr.ShowDialog();
     }
 }