Пример #1
0
        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmKho_Add frm = new frmKho_Add(false, gridView1.GetFocusedRowCellValue("MaKho").ToString());

            frm.Show();
        }
Пример #2
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmKho_Add frm = new frmKho_Add(true, "");

            frm.Show();
        }