Beispiel #1
0
        public FormMain(bool debug) : this()
        {
            Debug = debug;

            if (Debug)
            {
                _formDebug = new FormDebug();
            }
        }
Beispiel #2
0
        private void menuItemDebug_Click(object sender, EventArgs e)
        {
            DebugWriteLine("Opening the Debug window...");

            if (null == _formDebug || _formDebug.IsDisposed)
            {
                _formDebug = new FormDebug();
            }

            _formDebug.Show();
        }