private void btnDVD_Click(object sender, EventArgs e) { if (this.folderBrowserDialog.ShowDialog() == DialogResult.OK) { if (string.IsNullOrEmpty(this.folderBrowserDialog.SelectedPath)) { return; } string volume = this.folderBrowserDialog.SelectedPath.Split(Path.VolumeSeparatorChar).First(); this.Video = "dvdsimple:///" + volume + ":"; using (var dvdSettings = new DvdSetting(this.Video)) { dvdSettings.ShowDialog(); this.Video = dvdSettings.Path; } } }
private void btnDVD_Click(object sender, EventArgs e) { if (this.folderBrowserDialog.ShowDialog() == DialogResult.OK) { if (string.IsNullOrEmpty(this.folderBrowserDialog.SelectedPath)) return; string volume = this.folderBrowserDialog.SelectedPath.Split(Path.VolumeSeparatorChar).First(); this.Video = "dvdsimple:///" + volume + ":"; using (var dvdSettings = new DvdSetting(this.Video)) { dvdSettings.ShowDialog(); this.Video = dvdSettings.Path; } } }