public void OpenPane() { UIThreadExecutor.Execute(() => { FunctionalTestExtensions.GetRibbonUi().OnAction( new RibbonControl("ColorsLabButton")); _pane = FunctionalTestExtensions.GetTaskPane( typeof(ColorPane)).Control as ColorPane; }); }
public void OpenPane() { UIThreadExecutor.Execute(() => { Globals.ThisAddIn.Ribbon.ColorPickerButtonClick( new RibbonControl("ColorsLab")); _pane = Globals.ThisAddIn.GetActivePane( typeof(ColorPane)).Control as ColorPane; }); }
public void OpenPane() { UIThreadExecutor.Execute(() => { Globals.ThisAddIn.Ribbon.OnAction( new RibbonControl("ColorsLabButton")); _pane = Globals.ThisAddIn.GetActivePane( typeof(ColorPane)).Control as ColorPane; }); }