예제 #1
0
 private async void accordionControlElementCategories_Click(object sender, EventArgs e)
 {
     this.itemNav.Caption = $"{accordionControlCategories.Text}/{accordionControlElementCategories.Text}";
     if (ModulesInfo.GetItem("ucCategory") == null)
     {
         ModulesInfo.Add(new ModuleInfo("ucCategory", "Dev001.UI.Modules.ucCategory"));
     }
     await LoadModelAsync(ModulesInfo.GetItem("ucCategory"));
 }
예제 #2
0
        protected virtual void OnLoad(object sender, EventArgs e)
        {
            LookAndFeelMenu.RegisterDefaultBonusSkin();
            this.CreateMenu();
            this.RegisterTutorials();
            ModuleInfo item = ModulesInfo.GetItem(ItemName);

            if (item != null)
            {
                this.ShowModule(item.Name);
            }
        }