Пример #1
0
 /// <summary>
 /// 繪製物件
 /// </summary>
 /// <param name="g">Graphics物件</param>
 public virtual void Draw(Graphics g)
 {
     if (Visible)
     {
         UIOffSetY = 0;
         Propertys.AllDoBeforeDraw(g);
         DrawObject.Draw(g, Layout.Rectangle);
         Propertys.AllDoAfterDraw(g);
     }
 }
Пример #2
0
 public override void Draw(Graphics g)
 {
     if (Visible)
     {
         Propertys.AllDoBeforeDraw(g);
         DrawObject.Draw(g, Layout.Rectangle);
         UIObjects.AllDrawSelf(g);
         Propertys.AllDoAfterDraw(g);
     }
 }
Пример #3
0
 /// <summary>
 /// 繪製物件
 /// </summary>
 /// <param name="g">Graphics物件</param>
 public override void Draw(Graphics g)
 {
     if (Visible)
     {
         UIOffSetY = 0;
         Skills.AllDoBeforeDraw(g);
         Propertys.AllDoBeforeDraw(g);
         DrawObject.Draw(g, Layout.Rectangle);
         Propertys.AllDoAfterDraw(g);
         Skills.AllDoAfterDraw(g);
     }
 }