示例#1
0
 private void charAdd_Click(object sender, EventArgs e)
 {
     if (comboAccount.SelectedItem != null)
     {
         if (comboChar.Items.Count < 5)
         {
             Character.Add formAddChr = new Character.Add();
             formAddChr.name = comboAccount.Text;
             if (formAddChr.ShowDialog() == DialogResult.OK)
             {
                 Character_Reload();
             }
         }
     }
 }
示例#2
0
 private void charAdd_Click(object sender, EventArgs e)
 {
     if (comboAccount.SelectedItem != null)
     {
         if (comboChar.Items.Count < 5)
         {
             Character.Add formAddChr = new Character.Add();
             formAddChr.name = comboAccount.Text;
             if (formAddChr.ShowDialog() == DialogResult.OK)
                 Character_Reload();
         }
     }
 }