Ejemplo 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();
            }
        }
Ejemplo n.º 2
0
 public ProfitManagement19()
 {
     InitializeComponent();
     ProfitManagement18 pro18 = new ProfitManagement18();
 }