C#软件根据什么弹出要到期注册的,求解
可以提供软件,发编译的部分代码,// Token: 0x06001C91 RID: 7313 RVA: 0x00283A24 File Offset: 0x00281C24
private void eventEquipRegisterPrompt_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (this.eventEquipRegisterPrompt.IntPropMonitor == 1)
{
string text = this.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_DM, "1440").ToString();
string text2 = this.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_DM, "1441").ToString();
string text3 = this.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_DM, "1442").ToString();
this.ToolStslblRegister.Visible = true;
this.ToolStslblRegister.Text = string.Concat(new string[]
{
"注册码到期时间:",
text,
"年",
text2,
"月",
text3,
"日"
});
Frm3_16RegistrationTips frm3_16Registration = Frm3_16RegistrationTips.Frm3_16Registration;
frm3_16Registration.RegistrationDateTime = string.Concat(new string[]
{
"注册码到期时间:",
text,
"年",
text2,
"月",
text3,
"日"
});
frm3_16Registration.Location = new Point(VariaDec.ScreenOrigin.X + 450, VariaDec.ScreenOrigin.Y + 400);
frm3_16Registration.Show();
return;
}
this.ToolStslblRegister.Visible = false;
public class Frm1_5_7EquipRegister : Form
{
// Token: 0x06000700 RID: 1792 RVA: 0x000039B4 File Offset: 0x00001BB4
public Frm1_5_7EquipRegister()
{
this.InitializeComponent();
}
// Token: 0x06000701 RID: 1793 RVA: 0x000AF9FC File Offset: 0x000ADBFC
private void Frm1_5_7EquipRegister_Load(object sender, EventArgs e)
{
FileOperLog.ModuleName = "机台注册";
this.InitControlsList();
this.EquipmentConfig();
this.InitTriggerM();
this.InitDeviceManagers();
this.lblDMsDeviceM.ReadAll();
this.lblZSsDeviceM.ReadAll();
this.txtDMsDeviceM.ReadAll();
}
// Token: 0x06000702 RID: 1794 RVA: 0x000AFA4C File Offset: 0x000ADC4C
private void Frm1_5_7EquipRegister_FormClosing(object sender, FormClosingEventArgs e)
{
this.trigger.Active = false;
this.trigger.Triggers.Clear();
this.lblDMsDeviceM.CommManager = null;
this.lblZSsDeviceM.CommManager = null;
this.txtDMsDeviceM.CommManager = null;
this.Dispose(true);
}
// Token: 0x06000703 RID: 1795 RVA: 0x00002CAA File Offset: 0x00000EAA
private void btnClose_Click(object sender, EventArgs e)
{
base.Close();
}
// Token: 0x06000704 RID: 1796 RVA: 0x000AFAA0 File Offset: 0x000ADCA0
private void EquipmentConfig()
{
this.lblCM1.Text = frmMain.FrmMainObj.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_CM, "700").ToString();
this.lblCM2.Text = frmMain.FrmMainObj.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_CM, "701").ToString();
this.lblCM3.Text = frmMain.FrmMainObj.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_CM, "702").ToString();
if (frmMain.FrmMainObj.axPlcCommM.ReadDevice(DBPlcDevice.DKV7K_LR, "2204") == 1)
{
this.panlAmount.Visible = true;
this.panlTime.Visible = false;
return;
}
this.panlAmount.Visible = false;
this.panlTime.Visible = true;
页:
[1]