private void btnStartTimer_Click(object sender, EventArgs e)
{
if (AccountsPanel.Accounts.Count < 1)
{
MessageBox.Show("You need to login before setting a timer.", "Start Timer", MessageBoxButtons.OK, MessageBoxIcon.Hand);
return;
}
else if (!Settings.UseCountdownTimer && !Settings.UseHourTimer)
{
MessageBox.Show("Choose a timer.", "Start Timer", MessageBoxButtons.OK, MessageBoxIcon.Hand);
return;
}
// adjust stop after counter so that the user doesn't get docked one run
if (Settings.StopAfter)
MainPanel.StopAfterCounter--;
Countdown(Settings.AttackMode);
}