Esempio n. 1
0
        private void BtFarsi_Click(object sender, System.EventArgs e)
        {
            var enf = new FrmFarsi();

            enf.FormClosed += Enf_FormClosed;
            enf.Show();
            Hide();
        }
Esempio n. 2
0
        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();
        }