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

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

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