示例#1
0
 private void FigureChangedHandler(object sender, FigureEventArgs args)
 {
     if (_displayBox.Contains(args.Rectangle))
     {
         return;
     }
     _displayBox.Add(args.Rectangle);
     //OnSizeAllocated ();
 }
示例#2
0
 protected override void FigureInvalidatedHandler(object sender, FigureEventArgs args)
 {
     OnDrawingInvalidated(new DrawingEventArgs(this, args.Rectangle));
 }
示例#3
0
    public void OnSetFigure_Event(FigureType figure)
    {
        FigureEventArgs args = new FigureEventArgs(figure);

        OnSetFigure?.Invoke(this, args);
    }