Esempio n. 1
0
        private void btnSelect_Return_Click(object sender, EventArgs e)
        {
            if (txtSelectedID.Text != null)
            {
                vhc = new frmVehicle(txtSelectedID.Text);
            }
            else
            {
                vhc = new frmVehicle();
            }

            this.Dispose();
            vhc.Show();
        }
Esempio n. 2
0
        private void vehicleManagemtnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmVehicle vehicleForm = new frmVehicle();

            vehicleForm.Show();
        }
Esempio n. 3
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     vhc = new frmVehicle();
     this.Dispose();
     vhc.Show();
 }