private void ShowTagEditorToolStripMenuItem_Click(object sender, EventArgs e) { FileInfo fileInfo = (FileInfo)GetFileSystemInfo(FileExplorerTree.SelectedNode); if (fileInfo.Exists) { ConfigTagsForm configTagsForm = new ConfigTagsForm(this, fileInfo); configTagsForm.Show(); } }
private void ShowTagEditorToolStripMenuItem_Click(object sender, EventArgs e) { string path = DataGridView.SelectedRows[0].Cells[0].Value.ToString(); FileInfo fileInfo = new FileInfo(path); if (fileInfo.Exists) { ConfigTagsForm configTagsForm = new ConfigTagsForm(musicPlayer, fileInfo); configTagsForm.Show(); } }