private void BtFarsi_Click(object sender, System.EventArgs e) { var enf = new FrmFarsi(); enf.FormClosed += Enf_FormClosed; enf.Show(); Hide(); }
private void BtStart_Click(object sender, System.EventArgs e) { Form formToLoad = null; //Check Language if (rbEnglish.Checked) { formToLoad = new FrmEnglish(); } if (rbPersian.Checked) { formToLoad = new FrmFarsi(); } formToLoad.ShowDialog(); }