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); }
public virtual void Initialize(DrawingCanvas element) { this.Element = element; this.ShowLabel = true; this.IsSelected = true; }