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."); }
public FileListViewVM(FListView parent) { CurrentItems = new ObservableCollection <FSItemVM>(); RecentFolders = new ObservableStack <string>(); FutureFolders = new ObservableStack <string>(); FV = parent; }
private void lstFiles_OnFileOpen(object sender, FListView.FileOpenEventArgs e) { if (OnFileOpen != null) OnFileOpen(this, e); }