예제 #1
0
        private void btnGetMfaCode_Click(object sender, EventArgs e)
        {
            var form = new OtpCode(_controller);

            form.SetOtpCode(_controller.GenerateOtpCode(SelectedServerId, cmbOtpAccounts.Text));
            form.ShowDialog();
        }
예제 #2
0
 private void btnGetMfaCode_Click(object sender, EventArgs e)
 {
     var form = new OtpCode(_controller);
     form.SetOtpCode(_controller.GenerateOtpCode(SelectedServerId, cmbOtpAccounts.Text));
     form.ShowDialog();
 }