Exemple #1
0
        //-------------------------------------------------------------------------------------- CSS & HTML --
        public new static string GetCssTree()
        {
            string rtn = MenuItemUI.GetCssTree() + Panel_UserUI.GetCssTree() + Panel_GroupUI.GetCssTree();

            rtn += GetCssRoot();
            return(rtn);
        }
Exemple #2
0
        //----------------------------------------------------------------------------------------------------
        public void Instantiate_Sub()
        {
            this.jRoot = J("<div class='UsersMainUI MainUI jRoot'>");
            this.jRoot.append(this.GetHtmlRoot());

            this.UserUI           = new Panel_UserUI();
            this.UserUI.ViewModel = this.ViewModel;
            this.UserUI.Instantiate();
            this.UserUI.Close();
            this.UserUI.OnChange.After.AddHandler(this, "UserUI_Saved", 0);
            jF(".Holder_UserUI").append(this.UserUI.jRoot);

            this.GroupUI           = new Panel_GroupUI();
            this.GroupUI.ViewModel = this.ViewModel;
            this.GroupUI.Instantiate();
            this.GroupUI.Close();
            this.GroupUI.OnChange.After.AddHandler(this, "GroupUI_Saved", 0);
            jF(".Holder_GroupUI").append(this.GroupUI.jRoot);
        }