private void statusStrip1_MouseDoubleClick(object sender, MouseEventArgs e) { #if DEBUG if (debug_window != null) { if (debug_window.Visible) debug_window.Close(); } debug_window = new DebugWindow(); debug_window.Show(); #endif }
public FormMain() { #if DEBUG debug_window = new DebugWindow(); debug_window.Show(); #endif InitializeComponent(); if (System.Environment.OSVersion.Platform != PlatformID.Win32NT) { this.MaximumSize = new System.Drawing.Size(450, this.MaximumSize.Height); this.MinimumSize = new System.Drawing.Size(this.MaximumSize.Width, this.MinimumSize.Height); } if (!initializeCaptureDeviceList()) { //throw new ApplicationException("no capture devices found"); } app_start_time = DateTime.Now; }