public DrawingManager(DrawingCanvas pictureBox)
        {
            this.pictureBox = pictureBox;
            drawingAnnotations = new List<DrawingAnnotation>();

            createMenu();

            this.pictureBox.Paint += pictureBox_Paint;
            this.pictureBox.MouseDown += pictureBox_MouseDown;
            this.pictureBox.MouseMove += pictureBox_MouseMove;
            this.pictureBox.MouseUp += pictureBox_MouseUp;
        }
 public override void Initialize(DrawingCanvas element)
 {
     base.Initialize(element);
 }
예제 #3
0
 public virtual void Initialize(DrawingCanvas element)
 {
     this.Element    = element;
     this.ShowLabel  = true;
     this.IsSelected = true;
 }
 public virtual void Initialize(DrawingCanvas element)
 {
     this.Element = element;
     this.ShowLabel = true;
     this.IsSelected = true;
 }
예제 #5
0
 public override void Initialize(DrawingCanvas element)
 {
     base.Initialize(element);
 }