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)); }
private void CreateScreenshot() { cmenTab.Close(); Application.DoEvents(); Windows.ScreenshotForm.AddScreenshot(MiscTools.TakeScreenshot(this)); }