private void iGridToolBar1_EditRecord(object sender, EventArgs e) { var user = (UserDto)this.gridUsers.CurrentRow.DataRow; if (user != null) { UCUserEntry entry = new UCUserEntry(view, ClassLibrary.TransMode.EditRecord, user); ISE.UILibrary.Utils.UIUtils.SetFrmTrans(entry, "اطلاعات کاربر", FormBorderStyle.FixedDialog); } }
private void iGridToolBar1_NewRecord(object sender, EventArgs e) { UCUserEntry entry = new UCUserEntry(view); ISE.UILibrary.Utils.UIUtils.SetFrmTrans(entry, "تعریف کاربر", FormBorderStyle.FixedDialog); }