private void button10_Click(object sender, EventArgs e)
        {
            this.Hide();
            ProfitManagement14 p14 = new ProfitManagement14();

            p14.Show();
        }
Exemple #2
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();
            }
        }
 public ProfitManagement15()
 {
     InitializeComponent();
     ProfitManagement14 pro14 = new ProfitManagement14();
 }