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;
        }
Exemplo n.º 2
0
        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);
        }