Beispiel #1
0
        public Form1()
        {
            InitializeComponent();
            boatShop = new BoatShop();
            Array mas = VesselType.GetValues(typeof(VesselType));

            foreach (VesselType name in mas)
            {
                comboBoxVesselType.Items.Add(name);
            }

            Array mas2 = SpeedUnit.GetValues(typeof(SpeedUnit));

            foreach (SpeedUnit name in mas)
            {
                comboBoxSpeedUnit.Items.Add(name);
            }
        }