Ejemplo n.º 1
0
        private void englishClick(object sender, EventArgs e)
        {
            UnitSelection englishMode = new UnitSelection(UnitSelection.ENGLISH_MODE);

            englishMode.Owner = this;
            this.Hide();
            englishMode.ShowDialog();
        }
Ejemplo n.º 2
0
        private void hebrewClick(object sender, EventArgs e)
        {
            UnitSelection hebrewMode = new UnitSelection(UnitSelection.HEBREW_MODE);

            hebrewMode.Owner = this;        //Setting the parent form to the new form
            this.Hide();
            hebrewMode.ShowDialog();        //Showing the new form
        }