public AddGeoFenceWindow(GeoFenceWidget parentWidget) { InitializeComponent(); _parentWidget = parentWidget; _vm = _parentWidget.DataGridViewModel; _bInitDone = Init(); Map.MouseClick += Map_MouseClick; }