Пример #1
0
        public ReferencePointIcon(ReferencePoint rp)
        {
            this.rp = rp;

            icon = new Image();
            icon.Source = new BitmapImage(new Uri(BaseUriHelper.GetBaseUri(Application.Current.MainWindow), "Images/referencepoint.png"));

            // Register for updates on the mouse down event so that we may start a drag'n'drop operation.
            this.icon.MouseDown += icon_MouseDown;
        }
 public DistanceDocumentEventArgs(ReferencePoint rp)
 {
     this.mic = null;
     this.rp = rp;
 }
 public DistanceDocumentEventArgs(Microphone mic)
 {
     this.mic = mic;
     this.rp = null;
 }
 public DistanceDocumentEventArgs(Microphone mic, ReferencePoint rp)
 {
     this.mic = mic;
     this.rp = rp;
 }
Пример #5
0
 public void AddReferencePoint(ReferencePoint rp)
 {
     referencePoints.Add(rp);
     OnChanged(EventArgs.Empty);
 }
Пример #6
0
 public void AddReferencePoint(ReferencePoint rp)
 {
     referencePoints.Add(rp);
     OnReferencePointAdded(new DistanceDocumentEventArgs(rp));
     OnChanged(EventArgs.Empty);
 }
Пример #7
0
 public DistanceDocumentEventArgs(ReferencePoint rp)
 {
     this.mic = null;
     this.rp  = rp;
 }
Пример #8
0
 public DistanceDocumentEventArgs(Microphone mic)
 {
     this.mic = mic;
     this.rp  = null;
 }
Пример #9
0
 public DistanceDocumentEventArgs(Microphone mic, ReferencePoint rp)
 {
     this.mic = mic;
     this.rp  = rp;
 }
Пример #10
0
 public void AddReferencePoint(ReferencePoint rp)
 {
     referencePoints.Add(rp);
     OnChanged(EventArgs.Empty);
 }
Пример #11
0
 public void AddReferencePoint(ReferencePoint rp)
 {
     referencePoints.Add(rp);
     OnReferencePointAdded(new DistanceDocumentEventArgs(rp));
     OnChanged(EventArgs.Empty);
 }