private void button24_Click(object sender, EventArgs e) { FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog(); if (folderBrowserDialog1.ShowDialog() == DialogResult.Cancel) { return; } textBox5.Text = folderBrowserDialog1.SelectedPath; controller.setAvevasPath(folderBrowserDialog1.SelectedPath); }