public override bool ReinitWithArguments(GrtValue value) { InitializingControls = true; try { Backend = new MySQLViewEditorWrapper(value); SetupEditorOnHost(panel1, true); viewEditorBE.load_view_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 MySQLViewEditorWrapper(GrtManager, value); SetupEditorOnHost(panel1, true); viewEditorBE.load_view_sql(); InitFormData(); RefreshFormData(); Backend.reset_editor_undo_stack(); } finally { InitializingControls = false; } Invalidate(); return true; }