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

            cw.Protect(new BoardLabel());
            return(cw);
        }
Beispiel #2
0
        public ControlWrapper GetCandy()
        {
            ControlWrapper cw    = new ControlWrapper();
            BoardImage     image = new BoardImage();

            cw.Protect(image);
            return(cw);
        }
Beispiel #3
0
        public ControlWrapper GetCandy()
        {
            ControlWrapper   cw = new ControlWrapper();
            BoardMediaPlayer p  = new BoardMediaPlayer();

            cw.Protect(p);
            return(cw);
        }
        public ControlWrapper GetCandy()
        {
            ControlWrapper cw    = new ControlWrapper();
            DesignerChart  dc    = new DesignerChart();
            BoardChart     chart = new BoardChart(dc);

            cw.Protect(chart);
            return(cw);
        }
Beispiel #5
0
        public ControlWrapper GetCandy()
        {
            ControlWrapper cw = new ControlWrapper();
            DesignerTable  tb = new DesignerTable();

            tb.Size.Width  = 400;
            tb.Size.Height = 300;
            BoardDataGrid bf = new BoardDataGrid(tb);

            cw.Protect(bf);
            return(cw);
        }
    { public ControlWrapper GetCandy()
      {
          ControlWrapper     cw = new ControlWrapper();
          DesignerProcessbar pb = new DesignerProcessbar();

          pb.Size.Width  = 200;
          pb.Size.Height = 50;
          BoardProcessbar bf = new BoardProcessbar(pb);

          cw.Protect(bf);
          return(cw);
      }
        public ControlWrapper GetCandy()
        {
            ControlWrapper       cw = new ControlWrapper();
            DesignerDynamicLabel dg = new DesignerDynamicLabel();

            dg.Size.Width  = 150;
            dg.Size.Height = 50;
            dg.Text        = "动态文本";
            BoardDynamicLabel bf = new BoardDynamicLabel(dg);

            cw.Protect(bf);
            return(cw);
        }
Beispiel #8
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);
        }
Beispiel #9
0
        public ControlWrapper GetCandy()
        {
            ControlWrapper cw = new ControlWrapper();
            DesignerGif    dg = new DesignerGif();

            dg.Size.Width     = 200;
            dg.Size.Height    = 200;
            dg.GIFImageSource = "GifDemo.gif";
            dg.AutoPlay       = true;

            BoardGif bf = new BoardGif(dg);

            cw.Protect(bf);
            return(cw);
        }