private void agendaToolStripMenuItem_Click(object sender, EventArgs e) { frmJapanese fm = new frmJapanese(); fm.Visible = true; this.Visible = false; }
private void Accept() { if (cbSelect.Text == "Español") { frmEspañol esp = new frmEspañol(); esp.Visible = true; this.Visible = false; } else if (cbSelect.Text == "English") { frmEnglish eng = new frmEnglish(); eng.Visible = true; this.Visible = false; } else if (cbSelect.Text == "日本語") { frmJapanese eng = new frmJapanese(); eng.Visible = true; this.Visible = false; } else if (cbSelect.Text != "English" || cbSelect.Text != "Español") { MessageBox.Show("El idioma selecionado no es admitido, Intentelo nuevamente. " + " The language selectioned is no valid, try again."); } }