コード例 #1
0
 public void OnPaint(object sender, ExDrawEventArgs e)
 {
     isPainted = false;
     this.Refresh();
     Drawer.DrawClasses(e.Classes, e.Graphics);
     Drawer.DrawCenters(e.Classes, e.Graphics);
     isPainted = true;
 }
コード例 #2
0
        public void SimulateDraw(Graphics graphics, Rectangle rect, List <ImageClass> classes)
        {
            ExDrawEventArgs e = new ExDrawEventArgs(graphics, rect, classes);

            OnDraw(e);
        }
コード例 #3
0
 protected virtual void OnDraw(ExDrawEventArgs e)
 {
     e.Raise(this, ref Draw);
 }