Beispiel #1
0
    public BezierClock()
    {
        Text = "Bezier Clock";

        clkctl           = new BezierClockControl();
        clkctl.Parent    = this;
        clkctl.Time      = DateTime.Now;
        clkctl.Dock      = DockStyle.Fill;
        clkctl.BackColor = Color.Black;
        clkctl.ForeColor = Color.White;

        Timer timer = new Timer();

        timer.Interval = 100;
        timer.Tick    += new EventHandler(OnTimerTick);
        timer.Start();
    }
Beispiel #2
0
    public BezierClock()
    {
        Text = "BezierClock";

        bclok           = new BezierClockControl();
        bclok.Parent    = this;
        bclok.Time      = DateTime.Now;
        bclok.Dock      = DockStyle.Fill;
        bclok.BackColor = Color.Black;
        bclok.ForeColor = Color.White;

        Timer timer = new Timer();

        timer.Interval = 1000;
        timer.Tick    += new EventHandler(TimerOnTick);
        timer.Start();
    }