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.
 
 

36 lines
946 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;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;
namespace CircleViewer.Dialogs
{
public partial class RevokeDeviceDlg : Form
{
CDPWorker _cdp;
public RevokeDeviceDlg(CDPWorker cdp)
{
_cdp = cdp;
InitializeComponent();
}
private async void bnRevoke_Click(object sender, EventArgs e)
{
string userName = Environment.UserDomainName + "\\" + Environment.UserName;
await _cdp.AddMessage($"{userName} revoked device with Id: ", (Int32)CircleViewMessages.DeviceRevoked);
}
private void RevokeDeviceDlg_Load(object sender, EventArgs e)
{
}
}
}