示例#1
0
 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();
     }
 }
示例#2
0
 private void NewFunctions()
 {
     frmFunctionsEdit frm = new frmFunctionsEdit();
     frm.ShowDialog(this);
     ShowFunctionsList();
 }