private void buttonCopyDBName_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(textBoxDBName.Text.Trim())) { return; } string romName = ""; string fileName = ""; RomFunctions.CopyDBName(textBoxDBName.Text, checkBoxKeepSuffix.Checked, textBoxRomName.Text, textBoxFileName.Text, out romName, out fileName); textBoxRomName.Text = romName; textBoxFileName.Text = fileName; }