public override void ShowAutoCapture() { if (!bAutoScreenshotsOpened) { bAutoScreenshotsOpened = true; AutoCapture autoScreenshots = new AutoCapture { Icon = Resources.zss_main }; autoScreenshots.EventJob += new JobsEventHandler(EventJobs); autoScreenshots.FormClosed += new FormClosedEventHandler(autoScreenshots_FormClosed); autoScreenshots.Show(); if (Engine.ConfigUI.AutoCaptureExecute) { autoScreenshots.Execute(); } } }
public override void ShowAutoCapture() { if (!bAutoScreenshotsOpened) { bAutoScreenshotsOpened = true; AutoCapture autoScreenshots = new AutoCapture { Icon = Resources.zss_main }; autoScreenshots.EventJob += new JobsEventHandler(EventJobs); autoScreenshots.FormClosed += new FormClosedEventHandler(autoScreenshots_FormClosed); autoScreenshots.Show(); if (Engine.ConfigUI.AutoCaptureExecute) autoScreenshots.Execute(); } }