private void buttonSelectProgram_Click(object sender, EventArgs e)
{
buttonSelectProgram.Enabled = false;
if (openFileDialogMain.ShowDialog() == DialogResult.OK)
{
textBoxRunProgram.Text = openFileDialogMain.FileName;
}
buttonSelectProgram.Enabled = true;
}