Beispiel #1
0
        public ControlWrapper GetCandy()
        {
            ControlWrapper cw    = new ControlWrapper();
            DesignerClock  clock = new DesignerClock();

            clock.Size.Width  = 200;
            clock.Size.Height = 50;

            BoardClock bf = new BoardClock(clock);

            cw.Protect(bf);
            return(cw);
        }
 public BoardClock(DesignerClock tb)
 {
     InitializeComponent();
     DesignerModel = tb;
     InitBinding();
 }
 public BoardClock()
 {
     InitializeComponent();
     DesignerModel = new DesignerClock();
     InitBinding();
 }