예제 #1
0
        private void btnReturn_Click(object sender, EventArgs e)
        {
            var frmAddnewRental = new AddRental(_rentalsLogic, _client.Id, false);

            frmAddnewRental.ShowDialog();
            FillForm();
        }
예제 #2
0
 private void btnRentalAdd_Click(object sender, EventArgs e)
 {
     if (_client != null)
     {
         var frmAddnewRental = new AddRental(_rentalsLogic, _client.Id, true);
         frmAddnewRental.ShowDialog();
         FillForm();
     }
 }