Пример #1
0
        private void PaintWatch()
        {
            Graphics g = Graphics.FromImage(contur);

            g.FillRectangle(Brushes.White, 0, 0, pictureBox1.Width - 1, pictureBox1.Height - 1);
            if (currentWatch == "Digital")
            {
                pictureBox1.Image = digital.getContur();
            }
            else
            {
                adaptedAnalog.setCurrentTime(digital.currentTime);
                pictureBox1.Image = adaptedAnalog.getContur();
            }
        }