Ejemplo n.º 1
0
        /// <summary>
        /// Runs the program in the active editor window
        /// </summary>
        private void Run()
        {
            if (activeEditor_ == null)
            {
                MessageBox.Show("No active editor found!", "OO Pie Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            if (frmOutput != null)
            {
                frmOutput.Dispose();
            }

            Helper.clear();

            foreach (frmEditor editor in editors_)
            {
                Pie.LoadParser(editor.programName_);
            }
        }