Пример #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 frPackingOne(cr, 0);

            fr.ShowDialog();
        }
Пример #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 frPackingOne(cr, int.Parse(gridView1.GetFocusedRowCellValue(_coID).ToString()));

                fr.ShowDialog();
            }
        }