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 } }
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 } }