private void timerOptionsTimeout_Tick(object sender, EventArgs e) { stopWatchOptionsStatus.Stop(); stopWatchOptionsStatus.Reset(); timerOptionsTimeout.Enabled = false; timerOptionsStatus.Enabled = false; _globalState = State.Idle; _formStart.UpdateComponents(); _formStart.Show(); this.Hide(); }
private void btnClose_Click(object sender, EventArgs e) { _globalState = State.Authenticated; this.Hide(); _formStart.Show(); }