상속: System.Windows.Forms.Form
예제 #1
0
        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;
                }
            }
        }
예제 #2
0
        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;
                }
            }
        }