Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Doors      doors = new Doors(70);
            Inhabitant homie = new Inhabitant("John Flitch", "90930293", "92832832");
            HouseModel house = new HouseModel("malinowa 2", 90, 2);

            Console.ReadKey();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Построение модели
        /// </summary>
        /// <param name="sender">Отправитель события</param>
        /// <param name="e">Параметры</param>
        private void buildHouseButton_Click(object sender, EventArgs e)
        {
            _inventorApi = new InventorApi();
            _houseModel = new HouseModel(_houseProperties, _inventorApi);
            if (ChangeArcComboBox.SelectedIndex == 0)
            { _houseModel.Build(_houseProperties); }
            if (ChangeArcComboBox.SelectedIndex == 1)
            {
                _houseModel.Build(_houseProperties);
                _houseModel.BuildArc(_houseProperties);

            }
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Построение модели
        /// </summary>
        /// <param name="sender">Отправитель события</param>
        /// <param name="e">Параметры</param>


        private void buildHouseButton_Click(object sender, EventArgs e)
        {
            _inventorApi = new InventorApi();
            _houseModel  = new HouseModel(_houseProperties, _inventorApi);
            if (ChangeArcComboBox.SelectedIndex == 0)
            {
                _houseModel.Build(_houseProperties);
            }
            if (ChangeArcComboBox.SelectedIndex == 1)
            {
                _houseModel.Build(_houseProperties);
                _houseModel.BuildArc(_houseProperties);
            }
        }