Пример #1
0
 private void LoadNameForm(NameForm nf)
 {
     nf.Show(this);
     nf.Activate();
     nf.Focus();
     nf.BringToFront();
 }
Пример #2
0
        private void Game_Load(object sender, EventArgs e)
        {
            NameForm form = new NameForm(this);

            LoadImages();
            LoadNameForm(form);
            LoadStatistics();
        }