コード例 #1
0
        public ReturnBicycleForm(Form m, Worker w)
        {
            InitializeComponent();
            myCaller = m;
            RentalCollection rc = new RentalCollection();

            rc.populateWithRentedOutBikes();
            bikeIDs = rc.getBikeIDs();
            ChooseBicycleComboBox.Items.AddRange(bikeIDs);
            currentWorker = w;
        }