public BoardGif() { InitializeComponent(); DesignerModel = new DesignerGif(); DesignerModel.Size.Width = 200; DesignerModel.Size.Height = 200; InitBindind(); }
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); }
public BoardGif(DesignerGif dg) { InitializeComponent(); DesignerModel = dg; InitBindind(); }