Esempio n. 1
0
    public void InitTabs(Tab currentTab, bool isTemplateUser, bool isOnlyTab, bool isOwner, NewWidgetAddedDelegate onNewWidget)
    {
        this.IsTemplateUser       = isTemplateUser;
        this.IsOnlyTab            = isOnlyTab;
        this.IsOwner              = isOwner;
        this.CurrentTab           = currentTab;
        this._OnNewWidgetCallback = onNewWidget;

        this.LoadAddStuff();
        this.LockTabContent();
        this.LoadOptionsForTemplateUser();
    }
    public void InitTabs(Tab currentTab, bool isTemplateUser, bool isOnlyTab, bool isOwner, NewWidgetAddedDelegate onNewWidget)
    {
        this.IsTemplateUser = isTemplateUser;
        this.IsOnlyTab = isOnlyTab;
        this.IsOwner = isOwner;
        this.CurrentTab = currentTab;
        this._OnNewWidgetCallback = onNewWidget;

        this.LoadAddStuff();
        this.LockTabContent();
        this.LoadOptionsForTemplateUser();
    }