private void UpdateFunctions() { if (this.gridFunctionsList.ActiveRow!=null) { frmFunctionsEdit frm = new frmFunctionsEdit(); frm.FuncId = this.gridFunctionsList.ActiveRow.Cells["FUNCID"].Value.ToString(); frm.ShowDialog(this); ShowFunctionsList(); } }
private void NewFunctions() { frmFunctionsEdit frm = new frmFunctionsEdit(); frm.ShowDialog(this); ShowFunctionsList(); }