Пример #1
0
 private void __registerParent(IQGControl sender)
 {
     if (this.ParentLayer == null && this.Vertex1.IsInitialized && this.Vertex2.IsInitialized)
     {
         IQGLayer.FindNearestCommonLayer(this.Vertex1, this.Vertex2).ChildControls.Add(this);
     }
 }
Пример #2
0
 void IQGControl.SetParentLayer(IQGLayer parentLayer) => this.ParentLayer = parentLayer;