public MainWindow()
        {
            InitializeComponent();

            assigner = new AssignPlotOfLand();
            generator = new Random();
            timer = new DispatcherTimer();
            timer.Interval = TimeSpan.FromMilliseconds(100);
            timer.Tick += new EventHandler(ElapsedEventHandler);

            SetStartingPoint();
        }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();

            assigner       = new AssignPlotOfLand();
            generator      = new Random();
            timer          = new DispatcherTimer();
            timer.Interval = TimeSpan.FromMilliseconds(100);
            timer.Tick    += new EventHandler(ElapsedEventHandler);

            SetStartingPoint();
        }