示例#1
0
 private void folderView1_OnFileOpen(object sender, FListView.FileOpenEventArgs e)
 {
     // several commands possible
     if (e.CommandParameter == null)
         MessageBox.Show("File: " + e.FileName + " selected.");
     else if ((string)e.CommandParameter == "1")
         MessageBox.Show("File: " + e.FileName + " selected with alternate open command.");
 }
示例#2
0
        public FileListViewVM(FListView parent)
        {
            CurrentItems  = new ObservableCollection <FSItemVM>();
            RecentFolders = new ObservableStack <string>();
            FutureFolders = new ObservableStack <string>();

            FV = parent;
        }
示例#3
0
 private void lstFiles_OnFileOpen(object sender, FListView.FileOpenEventArgs e)
 {
     if (OnFileOpen != null)
         OnFileOpen(this, e);
 }