Beispiel #1
0
 private void changeLevelMenuItem_Click(object sender, EventArgs e)
 {
     ChangeLevelForm changeLevelForm = new ChangeLevelForm();
     if (changeLevelForm.ShowDialog() == DialogResult.OK)
     {
         _levelCollection = changeLevelForm.SelectedCollection;
         GoToLevel(changeLevelForm.SelectedLevel);
     }
 }
Beispiel #2
0
        private void changeLevelMenuItem_Click(object sender, EventArgs e)
        {
            ChangeLevelForm changeLevelForm = new ChangeLevelForm();

            if (changeLevelForm.ShowDialog() == DialogResult.OK)
            {
                _levelCollection = changeLevelForm.SelectedCollection;
                GoToLevel(changeLevelForm.SelectedLevel);
            }
        }