コード例 #1
0
 private void CreateScreenshot()
 {
     cmenTab.Close();
     Application.DoEvents();
     //var selectedTab = (ConnectionTab)GetInterfaceControl()?.Parent;
     if (TabHelper.Instance.CurrentTab == null)
     {
         return;
     }
     Windows.ScreenshotForm.AddScreenshot(MiscTools.TakeScreenshot(TabHelper.Instance.CurrentTab));
 }
コード例 #2
0
 private void CreateScreenshot()
 {
     cmenTab.Close();
     Application.DoEvents();
     Windows.ScreenshotForm.AddScreenshot(MiscTools.TakeScreenshot(this));
 }