コード例 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Selected_Mode_Pagel selectedform = new Selected_Mode_Pagel();

            selectedform.Show();
            this.Hide();
        }
コード例 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Selected_Mode_Pagel model_Page = new Selected_Mode_Pagel();

            model_Page.Show();
            this.Hide();
        }
コード例 #3
0
ファイル: Model Page.cs プロジェクト: Mhlengi12/The-Drive-C--
        private void PictureBox2_Click(object sender, EventArgs e)
        {
            Selected_Mode_Pagel selected_ModelForm = new Selected_Mode_Pagel();

            modeltype = "D";
            selected_ModelForm.Show();
            this.Hide();
        }
コード例 #4
0
ファイル: Model Page.cs プロジェクト: Mhlengi12/The-Drive-C--
        private void button1_Click(object sender, EventArgs e)
        {
            Selected_Mode_Pagel selected_ModelForm = new Selected_Mode_Pagel();

            modeltype = "A";
            selected_ModelForm.Show();
            this.Hide();
        }
コード例 #5
0
 private void button1_Click(object sender, EventArgs e)
 {
     //adding selected items to list
     try
     {
         if (checkBox1.Checked == true)
         {
             addon       += "\n" + checkBox1.Text;
             checkeditem += "1";
         }
         if (checkBox2.Checked == true)
         {
             addon       += "\n" + checkBox2.Text;
             checkeditem += "2";
         }
         if (checkBox3.Checked == true)
         {
             addon       += "\n" + checkBox3.Text;
             checkeditem += "3";
         }
         if (checkBox4.Checked == true)
         {
             addon       += "\n" + checkBox4.Text;
             checkeditem += "4";
         }
         if (checkBox5.Checked == true)
         {
             addon       += "\n" + checkBox5.Text;
             checkeditem += "5";
         }
         if (checkBox6.Checked == true)
         {
             addon       += "\n" + checkBox6.Text;
             checkeditem += "6";
         }
         if (checkBox7.Checked == true)
         {
             addon       += "\n" + checkBox7.Text;
             checkeditem += "7";
         }
         if (checkBox8.Checked == true)
         {
             addon       += "\n" + checkBox8.Text;
             checkeditem += "8";
         }
         if (checkBox9.Checked == true)
         {
             addon       += "\n" + checkBox9.Text;
             checkeditem += "9";
         }
         if (checkBox10.Checked == true)
         {
             addon       += "\n" + checkBox10.Text;
             checkeditem += "ten";
         }
         Selected_Mode_Pagel selectedform = new Selected_Mode_Pagel();
         selectedform.Show();
         this.Hide();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }