示例#1
0
 /// <summary>
 /// Show switch preview
 /// </summary>
 public void ShowSwitchPreview()
 {
     if (SwitchSelector != null)
     {
         SwitchSelector.Show(PreviewRenderer, _host.ScreenClientRectangle, _dockableForms.ToArray());
     }
 }
示例#2
0
 /// <summary>
 /// Check switcher focus
 /// </summary>
 private void CheckSwitcherFocus()
 {
     if (SwitchSelector != null)
     {
         if (SwitchSelector.HasFocus == false)
         {
             SwitchSelector.Cancel();
         }
     }
 }