private void button5_Click(object sender, EventArgs e) { if (comboBox1.Text != "") { if (comboBox2.Items.Count >= 5) { MessageBox.Show("Create error, you have reached max. characters slot count", "zDBManager", MessageBoxButtons.OK); return; } Character.Create CreateForm = new Character.Create(comboBox1.Text); DialogResult Result = new DialogResult(); Result = CreateForm.ShowDialog(); if (Result == DialogResult.OK) { Character_Reload(); } } }