Esempio n. 1
0
        public BinaryClock(int width, int height, PictureBox ozone)
        {
            BinaryRange.PopulateCouples();
            ozone.Parent.Invoke(new Action(() =>
            {
                DesktopDrawer.CreateGraphics(new Bitmap(ozone.Width, ozone.Height));
            }
                                           ));

            grid = new BinaryGrid(width, height);
        }
Esempio n. 2
0
        public BinaryClock(int width, int height, PictureBox ozone)
        {
            BinaryRange.PopulateCouples();
            ozone.Parent.Invoke(new Action(() =>
                {
                    DesktopDrawer.CreateGraphics(new Bitmap(ozone.Width, ozone.Height));
                }
            ));

            grid = new BinaryGrid(width, height);
        }