Beispiel #1
0
        private void BtEnglish_Click(object sender, System.EventArgs e)
        {
            var enf = new FrmEnglish();

            enf.FormClosed += Enf_FormClosed;
            enf.Show();
            Hide();
        }
Beispiel #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();
        }