public FrameForm() { InitializeComponent(); exRibbon.TabPages.Clear(); ExRibbonTab startTab = new ExRibbonTab(); exRibbon.AddRibbonTab(startTab); ExRibbonButton button_warrior = new ExRibbonButton(RPA.Presentation.Properties.Resources.warrior); ExRibbonButton button_rogue = new ExRibbonButton(RPA.Presentation.Properties.Resources.rogue); startTab.AddRibbonButton(button_warrior); startTab.AddRibbonButton(button_rogue); }
public void AddRibbonTab(ExRibbonTab tab) { this.Controls.Add(tab); }