private void ChangeToOffMode(object sender, EventArgs e) { mode = ProcrastinationMode.OFF; //garante as selecções do modo correcto UpdateModeControls(); }
private void ChangeToAgressiveMode(object sender, EventArgs e) { mode = ProcrastinationMode.AGGRESSIVE; //garante as selecções do modo correcto UpdateModeControls(); }
public MainForm() { InitializeComponent(); CenterToScreen(); //inicializa os modos mode = ProcrastinationMode.OFF; offToolStripMenuItem.Checked = true; radioButtonOff.Checked = true; //inicializa o tempo textBoxTolerantMinutes.Text = toleranceMinutes.ToString(); textBoxTolerantSeconds.Text = toleranceSeconds.ToString(); comboBoxHost.SelectedIndex = 0; }