private void iGridToolBar1_EditRecord(object sender, EventArgs e) { SdWorkDto work = (SdWorkDto)this.iGridEX1.CurrentRow.DataRow; if (work != null) { UCWorkEntry entry = new UCWorkEntry(work, ClassLibrary.TransMode.EditRecord, Bs); ISE.UILibrary.Utils.UIUtils.SetFrmTrans(entry, "تعریف کار", FormBorderStyle.Sizable); } }
private void iGridToolBar1_NewRecord(object sender, EventArgs e) { UCWorkEntry entry = new UCWorkEntry(serviceCategoryId, ClassLibrary.TransMode.NewRecord, Bs); ISE.UILibrary.Utils.UIUtils.SetFrmTrans(entry, "تعریف کار", FormBorderStyle.Sizable); }