private void OpenDebugForm() { _debugForm = new FormDebug(); _debugForm.Location = new Point( Screen.PrimaryScreen.Bounds.Width - _debugForm.Width - 20, Screen.PrimaryScreen.Bounds.Height - _debugForm.Height - 40 ); _debugForm.StartPosition = FormStartPosition.Manual; _debugForm.Show(); }
private void Form1_Load(object sender, EventArgs e) { Keys ks = ModifierKeys; if (ks == Keys.Shift) { debug = new FormDebug(); debug.Show(); AddDebugInfo(DEBUG_TYPE.info, "debug window started"); } xml.readXML(); timer1.Tag = "A"; timer1.Enabled = true; }