private void OnShowFastSegmentation(NotificationMessageAction<FastSegmentParam> info)
        {
            FastSegmentParam dataInfo = info.Target as FastSegmentParam;
            Window_FastSegmentation winFastSegmentation = new Window_FastSegmentation(dataInfo);
            winFastSegmentation.Owner = Application.Current.MainWindow;
            winFastSegmentation.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;

            if (winFastSegmentation.ShowDialog() == true)
            {
                FastSegmentParam data = winFastSegmentation.GetFastSegmentationInfo();
                info.Execute(data);
            }
        }
 private void OnShowFastSegmentation(NotificationMessageAction<FastSegmentParam> info)
 {
     FastSegmentParam dataInfo = info.Target as FastSegmentParam;
     Window_FastSegmentation winFastSegmentation = new Window_FastSegmentation(dataInfo);
     bool? res=  ShowInCenterParentWithRes(winFastSegmentation);
     if (res==true)
     {
         FastSegmentParam data = winFastSegmentation.GetFastSegmentationInfo();
         info.Execute(data);
     }
 }