Exemplo n.º 1
0
        //----------------------------------------------------------------------------------------------------
        public void Instantiate_Sub()
        {
            this.jRoot = J("<div class='ManageAssetsMainUI MainUI jRoot'>");
            this.jRoot.append(this.GetHtmlRoot());

            this.TablesPanel_Active = new TablesPanel(false);
            jF2(".MainBody").append(this.TablesPanel_Active.jRoot);

            this.TablesPanel_Hidden = new TablesPanel(true);
            jF2(".MainBody").append(this.TablesPanel_Hidden.jRoot);

            this.SQLViewsPanel_Active = new SQLViewsPanel(false);
            jF2(".MainBody").append(this.SQLViewsPanel_Active.jRoot);

            this.SQLViewsPanel_Hidden = new SQLViewsPanel(true);
            jF2(".MainBody").append(this.SQLViewsPanel_Hidden.jRoot);


            this.SchemasPanel = new SchemasPanel();
            jF2(".MainBody").append(this.SchemasPanel.jRoot);


            this.TablesPanel_Active.OnChange.After.AddHandler(this, "Refresh", 0);
            this.TablesPanel_Hidden.OnChange.After.AddHandler(this, "Refresh", 0);
            this.SQLViewsPanel_Active.OnChange.After.AddHandler(this, "Refresh", 0);
            this.SQLViewsPanel_Hidden.OnChange.After.AddHandler(this, "Refresh", 0);
            this.SchemasPanel.OnChange.After.AddHandler(this, "Refresh", 0);

            this.BindUI();
            this.MenuBttnClick_Tables_Active();
        }
Exemplo n.º 2
0
        //-------------------------------------------------------------------------------------- CSS & HTML --
        public new static string GetCssTree()
        {
            string rtn = "";

            rtn += PageParts.EditViewSettings.EditViewSettingsMainUI.GetCssTree();
            rtn += TablesPanel.GetCssTree();
            rtn += SQLViewsPanel.GetCssTree();
            rtn += SchemasPanel.GetCssTree();
            rtn += GetCssRoot();
            return(rtn);
        }