//************************************************************************************************** //************************************************************************************************** private void OnDgViewBtn_Click(object sender, EventArgs e) { Button TmpBtn = (Button)sender; switch (TmpBtn.Name) { case "btnRecAdd": RecAddProc(); break; case "btnRecModi": RecModiProc(); break; case "btnRecUp": ParCfg_DgViewPtr.RecUpProc(); break; case "btnRecDel": ParCfg_DgViewPtr.RecDelProc(); break; case "btnRecDn": ParCfg_DgViewPtr.RecDnProc(); break; } }