public static WPF_Ribbon add_Tabs(this WPF_Ribbon wpfRibbon, params string[] titles) { foreach (var title in titles) { wpfRibbon.add_Tab(title); } return(wpfRibbon); }
public static WPF_Ribbon add_Tab_BrowserAutomation(this WPF_Ribbon ribbon) { var browserAutomation = ribbon.add_Tab("Browser Automation"); browserAutomation.add_RibbonGroup("IE Script development environments") .add_RibbonButton_Script("IE Automation", "ascx_IE_ScriptExecution.cs") .add_RibbonButton_H2Script("IE Automation Development", "IE Automation using WatiN.h2") .add_RibbonButton_H2Script("WatiN Recorder", "WatiN - Open 'Test Recorder' in new process.h2"); browserAutomation.add_RibbonGroup("Javascript") .add_RibbonButton_H2Script("XSS PoC Builder", "Web - XSS PoC Builder.h2") .add_RibbonButton_H2Script("Javascript AST Viewer", "Web - Javascript AST Viewer.h2") .add_RibbonButton_H2Script("JavaScript Stats Viewer", "Web - JavaScript Stats Viewer.h2"); browserAutomation.add_RibbonGroup("Html") .add_RibbonButton_H2Script("Html Tag Viewer", "ascx_HtmlTagViewer.cs") .add_RibbonButton_H2Script("View WebPage details", "ascx_View_WebPage_Details.cs.o2") .add_RibbonButton_H2Script("Quick HtmlCode Viewer", "Quick HtmlCode Viewer.h2") .add_RibbonButton_H2Script("Simple Html Viewer", "Util - Simple Html Viewer.h2") .add_RibbonButton_H2Script("Html Editor", "ascx_Html_Editor.cs.o2"); return(ribbon); }