private void btnCheckOut_Click(object sender, EventArgs e) { var cof = new CheckOutForm(); //this.Hide(); cof.Show(); }
private void btnCheckOutVehicle_Click(object sender, EventArgs e) { var checkout = new CheckOutForm(); checkout.txtLicensePlate.Text = txtLicensePlate.Text; checkout.Show(); this.Close(); }