Esempio n. 1
0
 private void DebugWindow_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (timer1!=null)
         if (timer1.Enabled)
             timer1.Stop();
     DebugWindow.form = null;
 }
Esempio n. 2
0
        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
        }
Esempio n. 3
0
        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;
        }
Esempio n. 4
0
 public DebugWindow()
 {
     InitializeComponent();
     form = this;
     font_listbox = new Font(FontFamily.GenericSansSerif, 8, FontStyle.Regular);
 }