Пример #1
0
    void IWidgetHost.Restore()
    {
        var facade = Services.Get <Facade>();

        {
            this.WidgetInstance = facade.MaximizeWidget(this.WidgetInstance.Id, false);
        }

        this.SetMaximizeRestoreButtons();
        this._WidgetRef.Restored();

        WidgetHeaderUpdatePanel.Update();
    }
Пример #2
0
    void IWidgetHost.Collaspe()
    {
        var facade = Services.Get <Facade>();

        {
            this.WidgetInstance = facade.ExpandWidget(this.WidgetInstance.Id, false);
        }

        this.SetExpandCollapseButtons();
        this._WidgetRef.Collasped();

        WidgetBodyUpdatePanel.Update();
        WidgetHeaderUpdatePanel.Update();
    }
Пример #3
0
    void IWidgetHost.Maximize()
    {
        (this as IWidgetHost).Expand();

        var facade = Services.Get <Facade>();

        {
            this.WidgetInstance = facade.MaximizeWidget(this.WidgetInstance.Id, true);
        }

        this.SetMaximizeRestoreButtons();
        this._WidgetRef.Maximized();

        WidgetHeaderUpdatePanel.Update();
    }