Пример #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            optimization frm = new optimization(textBox1.Text);

            frm.Show();
            this.Close();
        }
        private void button3_Click(object sender, EventArgs e)
        {
            if (zccvariables.mainMenuChoice == 3)
            {
                //List_wizard
                zccvariables.mediaOptions = true;

                List_wizard frm = new List_wizard(textBox1.Text);
                frm.Show();

                this.Close();
            }
            if (zccvariables.mainMenuChoice == 2)
            {
                if (zccvariables.classicCompiler == true)
                {
                    optimization frm = new optimization(textBox1.Text);
                    frm.Show();
                    this.Close();
                }
                else if (zccvariables.classicCompiler == false)
                {
                    zorg frm = new zorg(textBox1.Text);
                    frm.Show();
                    this.Close();
                }
            }
        }
        private void optimization_options_Click(object sender, EventArgs e)
        {
            //optimization
            optimization frm = new optimization(textBox1.Text);

            frm.Show();
            this.Close();
        }
        private void button3_Click(object sender, EventArgs e)
        {
            //where to next??
            //optimization
            if (zccvariables.mainMenuChoice == 3)
            {
                //List_wizard
                zccvariables.zorgOptions = true;

                List_wizard frm = new List_wizard(textBox1.Text);
                frm.Show();

                this.Close();
            }
            else
            {
                optimization frm = new optimization(textBox1.Text);
                frm.Show();
                this.Close();
            }
        }