Beispiel #1
0
 private void buttonNewRental_Click(object sender, EventArgs e)
 {
     using (OpenRentalForm openRentalForm = new OpenRentalForm())
     {
         openRentalForm.Customer = this.customer;
         if (openRentalForm.ShowDialog() == DialogResult.OK)
         {
             this.ReloadData();
         }
     }
 }
Beispiel #2
0
 private void buttonNewRental_Click( object sender, EventArgs e )
 {
     using ( OpenRentalForm openRentalForm = new OpenRentalForm() )
     {
         openRentalForm.Customer = this.customer;
         if ( openRentalForm.ShowDialog() == DialogResult.OK )
         {
             this.ReloadData();
         }
     }
 }