Example #1
0
 public void OpenPane()
 {
     UIThreadExecutor.Execute((Action)(() =>
     {
         FunctionalTestExtensions.GetRibbonUi().OnAction(
             new RibbonControl(TimerLabText.PaneTag));
         _pane = FunctionalTestExtensions.GetTaskPane(
             typeof(TimerPane)).Control as TimerPane;
     }));
 }
Example #2
0
 public void OpenPane()
 {
     UIThreadExecutor.Execute(() =>
     {
         FunctionalTestExtensions.GetRibbonUi().OnAction(
             new RibbonControl("ColorsLabButton"));
         _pane = FunctionalTestExtensions.GetTaskPane(
             typeof(ColorPane)).Control as ColorPane;
     });
 }
Example #3
0
 public void OpenPane()
 {
     UIThreadExecutor.Execute(() =>
     {
         FunctionalTestExtensions.GetRibbonUi().CustomShapeButtonClick(
             new RibbonControl("ShapesLab"));
         _pane = FunctionalTestExtensions.GetTaskPane(
             typeof(CustomShapePane)).Control as CustomShapePane;
     });
 }
 public void OpenPane()
 {
     UIThreadExecutor.Execute(() =>
     {
         FunctionalTestExtensions.GetRibbonUi().OnAction(
             new RibbonControl(ShapesLabText.PaneTag));
         _pane = FunctionalTestExtensions.GetTaskPane(
             typeof(CustomShapePane)).Control as CustomShapePane;
     });
     _pane?.InitCustomShapePaneStorage();
 }