示例#1
0
        public void Approve()
        {
            string cost = Cost_box.Text.TrimStart('$'); //remove $ at the beginning if there is one

            controller.ApproveRental(this.Description_box.Text, double.Parse(cost));
            this.Close();
        }
 public void Approve()
 {
     controller.ApproveRental();
     this.Close();
 }