示例#1
0
文件: Drawable.cs 项目: M1C/Eto
 public Drawable(Generator g)
     : base(g, typeof(IDrawable), false)
 {
     inner = (IDrawable)Handler;
     inner.Create ();
     Initialize ();
 }
示例#2
0
文件: Drawable.cs 项目: pcdummy/Eto
 protected Drawable(Generator generator, Type type, bool initialize = true)
     : base(generator, type, false)
 {
     Handler.Create();
     if (initialize)
     {
         Initialize();
     }
 }