You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
783 B

1 year ago
1 year ago
  1. using CDPShared;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Data;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. namespace CircleViewer.Dialogs
  12. {
  13. public partial class JoinCircleDlg : Form
  14. {
  15. private CDPWorker _cdp;
  16. public JoinCircleDlg(CDPWorker cdp)
  17. {
  18. _cdp = cdp;
  19. InitializeComponent();
  20. }
  21. private void bnRequestVerfication_Click(object sender, EventArgs e)
  22. {
  23. var reply = _cdp.ProcessInvite(tbInviteCode.Text, tbAuthCode.Text);
  24. if (reply == null)
  25. MessageBox.Show("Failed to Process Invite.", "Circle for Data Protection");
  26. }
  27. }
  28. }