예제 #1
0
파일: frColor.cs 프로젝트: zanderphh/Hownet
        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 frColorOne(cr, 0, dt);

            fr.ShowDialog();
        }
예제 #2
0
파일: frColor.cs 프로젝트: zanderphh/Hownet
 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 frColorOne(cr, int.Parse(gridView1.GetFocusedRowCellValue(_coID).ToString()), dt);
         fr.ShowDialog();
     }
 }