예제 #1
0
        private void captureVideoButton_Click(object sender, EventArgs e)
        {
            var selectPathDialog = new SelectPathWindow();
            if(selectPathDialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                var selectedPath = selectPathDialog.SelectedPath;
                // use selected path here

            }
        }
예제 #2
0
        private void captureVideoButton_Click(object sender, EventArgs e)
        {
            var selectPathDialog = new SelectPathWindow();

            if (selectPathDialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                var selectedPath = selectPathDialog.SelectedPath;
                // use selected path here
            }
        }