Exemplo 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();
        }
Exemplo n.º 2
0
        private void vehicleManagemtnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmVehicle vehicleForm = new frmVehicle();

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