private void button5_Click(object sender, EventArgs e) { if (dus.Text != "") { edituser euser = new edituser(dus.Text); euser.Show(); this.Close(); } else { MessageBox.Show("Pls enter valid Player Name"); } }
private void EditUser_Click(object sender, EventArgs e) { if (user.Text != "Select Player!!!") { edituser euser = new edituser(user.Text); euser.Show(); this.Hide(); } else { MessageBox.Show("Pls enter valid Player Name"); } }