Example #1
0
        public Task3()
        {
            InitializeComponent();

            _timer = new Timer { Interval = 25 };
            _timer.Tick += (sender, args) => Invalidate();

            cycloid = new Hypocycloid(18f / 5f, 20,
                ClientSize.Width, ClientSize.Height, _timer);
        }
Example #2
0
        public Task1()
        {
            InitializeComponent();

            new Task2().Show();
            new Task3().Show();
            new Task4().Show();

            _timer = new Timer {Interval = 25};
            _timer.Tick += (sender, args) => Invalidate();

            _cycloid = new Cycloid(20, 2, ClientSize.Height, _timer);
        }