public SetSelectedFileData ( |
||
file | ||
return | void |
private void openFileButton_Click(object sender, EventArgs e) { // open file PictureBox label = sender as PictureBox; if (label != null && label.Tag != null) { JsonFileData fileData = label.Tag as JsonFileData; mManifestView.SetSelectedFileData(fileData); } }
private void listBox_MouseDoubleClick(object sender, MouseEventArgs e) { FileData file = listBox.SelectedItem as FileData; if (file != null) { mOwner.SetSelectedFileData(file); } }