protected override Task <bool> OnSketchCompleteAsync(Geometry geometry)
        {
            if (_graphic != null)
            {
                _graphic.Dispose();
                _graphic = null;
            }

            addgraphic(geometry);
            DockPane pane = FrameworkApplication.DockPaneManager.Find("Clean_Tool_and_MV_Data_DocPane");
            Data_DocPaneViewModel data_DocPaneViewModel = (Data_DocPaneViewModel)pane;

            data_DocPaneViewModel.AOIGeometry = geometry;
            data_DocPaneViewModel.Activate(true);
            //addwmts("asdasd");
            FrameworkApplication.SetCurrentToolAsync(null);
            return(base.OnSketchCompleteAsync(geometry));
        }
 protected override void OnClick()
 {
     Data_DocPaneViewModel.Show();
 }