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
30 lines
783 B
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");
|
|
}
|
|
}
|
|
}
|