Exemplo 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);
        }
Exemplo 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);
        }