private void btn_ErrorLog_Click(object sender, EventArgs e) { string Company = ""; if (drpbx_IngestionSource.SelectedValue.ToString() == "W F Howes") { Company = "WFH"; } else if (drpbx_IngestionSource.SelectedValue.ToString() == "Recorded Books") { Company = "RB"; } else { Company = ""; } ErrorLogScreen errorlog = new ErrorLogScreen(Company); errorlog.ShowDialog(); }