예제 #1
0
 private void Callback(FileModel file)
 {
     if (null != _callback)
     {
         _callback(file);
     }
     this.DialogResult = true;
 }
예제 #2
0
 private void Open(FileModel file)
 {
     if (file.IsDirectory)
     {
         _path += "\\" + file.Name.Trim('\\');
         _backCommand.RaiseCanExecuteChanged();
         Refresh();
     }
     else
     {
         //System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(file.Url, UriKind.RelativeOrAbsolute), "_blank");
         if (null != _callback)
         {
             _callback(file);
             //_window.DialogResult = true;
             //_window.Close();
         }
     }
 }