private void CloseDialog(ResultEventArgs args)
 {
     if (DiolgHander != null)
     {
         DiolgHander.ResultArgs = args;
         DiolgHander.Close();
     }
 }
 private void Close_Click(object sender, RoutedEventArgs e)
 {
     if (DiolgHander != null)
     {
         DiolgHander.ResultArgs.Data         = null;
         DiolgHander.ResultArgs.DialogResult = DialogResultType.Cancel;
         DiolgHander.Close();
     }
 }