Esempio n. 1
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            if (_comboImageBox.SelectedIndex > 0)
            {
                MessageBox.Show("This ruleset is not yet implemented.", "Roleplay Resource");
                return;
            }

            CreateCharacter create = new CreateCharacter((Enums.Ruleset)Enum.Parse(typeof(Enums.Ruleset), _comboImageBox.SelectedItem.ToString()));

            create.Show();
        }
Esempio n. 2
0
 private void lstCharacters_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (_loadCharacterSelectionMade)
     {
         CreateCharacter create = new CreateCharacter((Enums.Ruleset)Enum.Parse(typeof(Enums.Ruleset), _comboImageBox.SelectedItem.ToString()), lstCharacters.SelectedItem.ToString());
         create.Show();
     }
     else
     {
         _loadCharacterSelectionMade = true;
     }
 }