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