Beispiel #1
0
 protected override void InternalOnMouseLeft(MouseEventArgs e, bool shouldFocus)
 {
     base.InternalOnMouseLeft(e, shouldFocus);
     this.m_PointsCached = new PointDoubleCollection(null);
     for (int i = 0; i < this.m_Points.Count; i++)
     {
         PointDouble pointDouble = new PointDouble();
         pointDouble.X = this.m_Points[i].X;
         pointDouble.Y = this.m_Points[i].Y;
         this.m_PointsCached.Add(pointDouble);
     }
 }
Beispiel #2
0
 protected override void CreateObjects()
 {
     base.CreateObjects();
     this.m_Points          = new PointDoubleCollection(this.ComponentBase);
     this.m_Points.Changed += this.m_Points_Changed;
 }