Пример #1
0
 private void clearMstr_Click(object sender, EventArgs e)
 {
     using (var addForm = new ConfirmClear())
     {
         var result = addForm.ShowDialog();
         if (result == DialogResult.OK)
         {
             monsters.Clear();
             ReloadMonsters();
         }
     }
 }
Пример #2
0
 private void clearBtn_Click(object sender, EventArgs e)
 {
     using (var addForm = new ConfirmClear())
     {
         var result = addForm.ShowDialog();
         if (result == DialogResult.OK)
         {
             initiatives.Clear();
             ReloadInitiative();
         }
     }
 }