示例#1
0
 protected WindowsImp GetWindowsImp()
 {
     if (windowsImp == null)
     {
         this.windowsImp = WindowsImpAbstractFactory.MakeWindowsImp(windowsImpType);
     }
     return(this.windowsImp);
 }
        public override void DrawContents()
        {
            WindowsImp windowsImp = GetWindowsImp();

            if (windowsImp != null)
            {
                windowsImp.DeviceBitmap(this.mBitMapName, new Coord(0), new Coord(0));
            }
        }
示例#3
0
 public WindowsBase(View contents)
 {
     this.view           = contents;
     this.windowsImp     = null;
     this.windowsImpType = null;
 }