private void button7_Click(object sender, EventArgs e)
        {
            Input_Form form2 = new Input_Form(myScheduling);

            form2.Show();
            form2.Location = this.Location;
            Hide();
        }
Exemple #2
0
        private void btn_back_Click(object sender, EventArgs e)
        {
            Input_Form form2 = new Input_Form(myScheduling);

            form2.Show();
            form2.Location = this.Location;
            //form2.StartPosition = this.StartPosition;
            Hide();
        }
Exemple #3
0
        private void btn_ok_number_of_process_Click(object sender, EventArgs e)
        {
            // Set number of Process to Object.
            myScheduling.setNumberProcess((int)numeric_numProcess.Value);

            // Set checked box to Object.
            bool FCFS       = checkBox_FCFS.Checked;
            bool SJF_P      = checkBox_SJF_P.Checked;
            bool SJF_N      = checkBox_SJF_N.Checked;
            bool Priority_P = checkBox_Priority_P.Checked;
            bool Priority_N = checkBox_Priority_N.Checked;
            bool RR         = checkBox_RR.Checked;

            myScheduling.setFlag_Algorithm(FCFS, SJF_P, SJF_N, Priority_P, Priority_N, RR);

            // Navigate Page.
            Input_Form form = new Input_Form(myScheduling);

            form.Show();
            form.Location = this.Location;
            Hide();
        }