Example #1
0
        private void button11_Click(object sender, EventArgs e)
        {
            String Comboboxvalue  = comboBox1.SelectedItem.ToString();
            String Comboboxvalue2 = comboBox2.SelectedItem.ToString();

            if (comboBox1.SelectedItem == "September")
            {
                year = comboBox2.SelectedItem.ToString() + "-" + "09";
            }



            if (Comboboxvalue == "September" && Comboboxvalue2 == "2020")
            {
                this.Hide();
                ProfitManagement21 prof21 = new ProfitManagement21();
                prof21.Show();
            }
        }
Example #2
0
 public ProfitManagement22()
 {
     InitializeComponent();
     ProfitManagement21 p21 = new ProfitManagement21();
 }