public void OnClick() { if (this.hk == null) { return; } if (this.hk.MapControl.Map.LayerCount > 0) { SingleSymbol singleSymbol = new SingleSymbol(this.hk); singleSymbol.Show(this.hk as System.Windows.Forms.IWin32Window); } }
public void OnClick() { if (this.hk == null) return; if (this.hk.MapControl.Map.LayerCount > 0) { SingleSymbol singleSymbol = new SingleSymbol(this.hk); singleSymbol.Show(this.hk as System.Windows.Forms.IWin32Window); } }