Esempio n. 1
0
        private void selectCategory()
        {
            String Comboboxvalue = comboBox1.SelectedItem.ToString();

            if (Comboboxvalue == "Trips")
            {
                this.Hide();
                ProfitManagement14 prof14 = new ProfitManagement14();
                prof14.Show();
            }

            if (Comboboxvalue == "Trips")
            {
                this.Hide();
                ProfitManagement14 prof14 = new ProfitManagement14();
                prof14.Show();
            }

            if (Comboboxvalue == "Vehicle Repairs")
            {
                this.Hide();
                ProfitManagement16 prof16 = new ProfitManagement16();
                prof16.Show();
            }

            if (Comboboxvalue == "Fuel Reciepts")
            {
                this.Hide();
                ProfitManagement18 prof18 = new ProfitManagement18();
                prof18.Show();
            }
        }
Esempio n. 2
0
 public ProfitManagement17()
 {
     InitializeComponent();
     ProfitManagement16 pro16 = new ProfitManagement16();
 }