public override bool ReinitWithArguments(GrtValue value) { InitializingControls = true; try { Backend = new MySQLRoutineGroupEditorWrapper(value); Control editor = SetupEditorOnHost(tabPage2, true); /* * TODO: The editor is an mforms control, so drag/drop is managed there, but this is still pending. * editor.AllowDrop = true; * editor.DragEnter += new DragEventHandler(ddlEditor_DragEnter); * editor.DragOver += new DragEventHandler(ddlEditor_DragOver); * editor.DragDrop += new DragEventHandler(ddlEditor_DragDrop); */ routineGroupEditorBE.load_routines_sql(); RefreshFormData(); } finally { InitializingControls = false; } Invalidate(); return(true); }
public override bool ReinitWithArguments(GrtValue value) { InitializingControls = true; try { Backend = new MySQLRoutineGroupEditorWrapper(GrtManager, value); Control editor = SetupEditorOnHost(tabPage2, true); /* * TODO: The editor is an mforms control, so drag/drop is managed there, but this is still pending. editor.AllowDrop = true; editor.DragEnter += new DragEventHandler(ddlEditor_DragEnter); editor.DragOver += new DragEventHandler(ddlEditor_DragOver); editor.DragDrop += new DragEventHandler(ddlEditor_DragDrop); */ routineGroupEditorBE.load_routines_sql(); RefreshFormData(); } finally { InitializingControls = false; } Invalidate(); return true; }