private void cmdSubmitTicket_Click(object sender, EventArgs e) { if (cmbClass.Text == "") { MessageBox.Show("Please select a valid class", "", MessageBoxButtons.OK, MessageBoxIcon.Error); } if (cmbSpec.Text == "") { MessageBox.Show("Please select a valid spec", "", MessageBoxButtons.OK, MessageBoxIcon.Error); } if (txtRotationPath.Text == "") { MessageBox.Show("Please select a valid combat rotation path", "", MessageBoxButtons.OK, MessageBoxIcon.Error); } if (txtComments.Text == "") { MessageBox.Show("Enter in a brief description of what you were doing when it crashed (what was the last thing you clicked)", "", MessageBoxButtons.OK, MessageBoxIcon.Error); } string ticketContents = ""; ticketContents += "Class\t:" + cmbClass.Text + Environment.NewLine; ticketContents += "Spec \t:" + cmbSpec.Text + Environment.NewLine; ticketContents += "Notes\t: " + txtComments.Text + Environment.NewLine; ticketContents += "File \t: " + txtRotationPath.Text + Environment.NewLine; frmTicket f = new frmTicket(ticketContents, logText); f.ShowDialog(); Close(); }