コード例 #1
0
        private void btnAddConfirm_Click(object sender, EventArgs e)
        {
            frontpage.VehicleIcon();
            Car car = new Car(txtBoxTag.Text,
                              cmbBxVehType.Text,
                              cmbBxVehModel.Text,
                              frontpage.lblDigitalClock.Text,
                              frontpage.TimeControl("Seconds"),
                              frontpage.TimeControl("CostSeconds"));

            carList.Add(car);
            this.Close();
            frontpage.Display();
        }