public override bool ReinitWithArguments(GrtValue value) { InitializingControls = true; try { Backend = new MySQLRoutineEditorWrapper(GrtManager, value); dbObjectEditorPages = new DbObjectEditorPages(GrtManager, routineEditorBE); SetupEditorOnHost(panel2, true); routineEditorBE.load_routine_sql(); InitFormData(); RefreshFormData(); Backend.reset_editor_undo_stack(); } finally { InitializingControls = false; } Invalidate(); return true; }
public override bool ReinitWithArguments(GrtValue value) { InitializingControls = true; try { Backend = new MySQLRoutineEditorWrapper(GrtManager, value); dbObjectEditorPages = new DbObjectEditorPages(GrtManager, routineEditorBE); SetupEditorOnHost(panel2, true); routineEditorBE.load_routine_sql(); InitFormData(); RefreshFormData(); Backend.reset_editor_undo_stack(); } finally { InitializingControls = false; } Invalidate(); return(true); }