using CDPShared; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CircleViewer.Dialogs { public partial class JoinCircleDlg : Form { private CDPWorker _cdp; public JoinCircleDlg(CDPWorker cdp) { _cdp = cdp; InitializeComponent(); } private void bnRequestVerfication_Click(object sender, EventArgs e) { var reply = _cdp.ProcessInvite(tbInviteCode.Text, tbAuthCode.Text); if (reply == null) MessageBox.Show("Failed to Process Invite.", "Circle for Data Protection"); } } }