Esempio n. 1
0
        private void _barAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            BasicClass.cResult cr = new BasicClass.cResult();
            cr.RowChanged += new BasicClass.RowChangedHandler(cr_RowChanged);
            Form fr = new frFinishedOne(cr, 0, dt, _typeID, _attributeID);

            fr.ShowDialog();
        }
Esempio n. 2
0
 private void _barEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (gridView1.FocusedRowHandle > -1)
     {
         BasicClass.cResult cr = new BasicClass.cResult();
         cr.RowChanged += new BasicClass.RowChangedHandler(cr_RowChanged);
         Form fr = new frFinishedOne(cr, int.Parse(gridView1.GetFocusedRowCellValue(_coID).ToString()), dt, _typeID, _attributeID);
         fr.ShowDialog();
     }
 }