private void UpdateOutputFolder(string filepath) { if(txtOutputFolder.Text == string.Empty) { txtOutputFolder.Text = Path.GetDirectoryName(filepath); } }