private void linkLabelIncorrectNext_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (data.Type == OtpType.Totp || data.Type == OtpType.Steam) { Troubleshooting troubleshooting = new Troubleshooting(this.host); troubleshooting.ShowDialog(); } else if (data.Type == OtpType.Hotp) { OtpAuthUtils.increaseHotpCounter(host, data, entry); this.data = OtpAuthUtils.loadData(this.entry); } }
private void buttonIncorrect_Click(object sender, EventArgs e) { Troubleshooting troubleshooting = new Troubleshooting(this.host); troubleshooting.ShowDialog(); }