/// <summary> /// Brings up a WPF dialog to allow you enter a path or url to a layer /// </summary> protected override void OnClick() { AddLayerDlg addlayerDlg = new AddLayerDlg() { Width = 650, Height = 175 }; addlayerDlg.ShowDialog(); }