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")); }
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); } }