示例#1
0
        private void btnSEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmService frm = new frmService();

            frm.Execute(Convert.ToInt32(SMView.GetFocusedRowCellValue("ServiceId")));
            PopulateGrid();
        }
示例#2
0
        private void btnSAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmService frm = new frmService();

            frm.Execute(0);
            PopulateGrid();
        }