/// <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); } }
public override void Draw(Graphics g) { if (Visible) { Propertys.AllDoBeforeDraw(g); DrawObject.Draw(g, Layout.Rectangle); UIObjects.AllDrawSelf(g); Propertys.AllDoAfterDraw(g); } }
/// <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); } }