private void ButtonBattleTestClick(object sender, EventArgs e) { using (var dialog = new BattleTestDialog()) dialog.ShowDialog(); }