怎么才能修改这段代码中的定时设置?
net吧
全部回复
仅看楼主
level 1
lsp8855321 楼主
[MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
private void TimerReg_Tick(object sender, EventArgs e)
{
int num4;
try
{
int num5;
Label_0001:
ProjectData.ClearProjectError();
int num3 = -2;
Label_000A:
num5 = 2;
string strSoft = "ABCDABCDABCDABCD";
Label_0013:
num5 = 3;
string strComputer = MyProject.Forms.Dreg.PGetComputer();
Label_0026:
num5 = 4;
string str2 = "ABCDABCDABCDABCD";
Label_002F:
num5 = 5;
if (!MyProject.Computer.FileSystem.FileExists(Module1.DirStr + "ZmSn.txt"))
{
goto Label_0126;
}
Label_0059:
num5 = 6;
FileSystem.FileOpen(1, Module1.DirStr + @"\ZmSn.txt", OpenMode.Input, OpenAccess.Default, OpenShare.Default, -1);
Label_0076:
num5 = 7;
int num = 0;
goto Label_00F2;
Label_007D:
num5 = 10;
string str = FileSystem.LineInput(1);
Label_0089:
num5 = 11;
if (Strings.Len(Strings.Trim(str)) < 0x10)
{
goto Label_00E9;
}
Label_00A6:
num5 = 12;
if (num != 0)
{
goto Label_00C7;
}
Label_00B4:
num5 = 13;
strSoft = Strings.Right(Strings.Trim(str), 0x10);
Label_00C7:
num5 = 15;
if (num != 2)
{
goto Label_00E9;
}
Label_00D5:
num5 = 0x10;
str2 = Strings.Right(Strings.Trim(str), 0x10);
Label_00E9:
num5 = 0x13;
num++;
Label_00F2:
num5 = 9;
if (!FileSystem.EOF(1))
{
goto Label_007D;
}
Label_0108:
num5 = 0x15;
FileSystem.FileClose(new int[] { 1 });
goto Label_0227;
Label_0126:
num5 = 0x17;
Label_012B:
num5 = 0x18;
if (!MyProject.Computer.FileSystem.FileExists(Module1.DirStr + "UserSn.txt"))
{
goto Label_0227;
}
Label_0156:
num5 = 0x19;
FileSystem.FileOpen(1, Module1.DirStr + @"\UserSn.txt", OpenMode.Input, OpenAccess.Default, OpenShare.Default, -1);
Label_0174:
num5 = 0x1a;
int num2 = 0;
goto Label_01F6;
Label_017D:
num5 = 0x1d;
string str5 = FileSystem.LineInput(1);
Label_0189:
num5 = 30;
if (Strings.Len(Strings.Trim(str5)) < 0x10)
{
goto Label_01EB;
}
Label_01A6:
num5 = 0x1f;
if (num2 != 0)
{
goto Label_01C8;
}
Label_01B5:
num5 = 0x20;
strSoft = Strings.Right(Strings.Trim(str5), 0x10);
Label_01C8:
num5 = 0x22;
if (num2 != 2)
{
goto Label_01EB;
}
Label_01D7:
num5 = 0x23;
str2 = Strings.Right(Strings.Trim(str5), 0x10);
Label_01EB:
num5 = 0x26;
num2++;
Label_01F6:
num5 = 0x1c;
if (!FileSystem.EOF(1))
{
goto Label_017D;
}
Label_020C:
num5 = 40;
FileSystem.FileClose(new int[] { 1 });
Label_0227:
num5 = 0x2b;
if (!((MyProject.Forms.Dreg.SetupSn7(ref strSoft, ref strComputer) != str2) | (Strings.Mid(strSoft, 3, 1) != "Z")))
{
goto Label_02C8;
}
Label_026B:
num5 = 0x2c;
this.TimerReg.Enabled = false;
Label_027C:
num5 = 0x2d;
this.Enabled = false;
Label_0288:
num5 = 0x2e;
Interaction.MsgBox("�����û��ע�ᣬ��Ҫע��������ʹ�ã�", MsgBoxStyle.ApplicationModal, null);
Label_0299:
num5 = 0x2f;
this.Enabled = true;
Label_02A5:
num5 = 0x30;
MyProject.Forms.Dreg.ShowDialog(this);
Label_02BA:
num5 = 0x31;
this.DialogResult = DialogResult.None;
goto Label_02DF;
Label_02C8:
num5 = 0x33;
Label_02CD:
num5 = 0x34;
this.TimerReg.Enabled = false;
Label_02DF:
num5 = 0x36;
if (!(MySettingsProperty.Settings.SetShowUpdata & !this.BupdataDone))
{
goto Label_0485;
}
Label_02FD:
num5 = 0x37;
Thread thread = new Thread(new ThreadStart(this.setA));
Label_0315:
num5 = 0x38;
thread.Start();
Label_0321:
num5 = 0x39;
this.TUpdata.Enabled = true;
goto Label_0485;
Label_0340:
num4 = 0;
switch ((num4 + 1))
{
case 1:
goto Label_0001;
case 2:
goto Label_000A;
case 3:
goto Label_0013;
case 4:
goto Label_0026;
case 5:
goto Label_002F;
case 6:
goto Label_0059;
case 7:
goto Label_0076;
case 8:
case 9:
case 20:
goto Label_00F2;
case 10:
goto Label_007D;
case 11:
goto Label_0089;
case 12:
goto Label_00A6;
case 13:
goto Label_00B4;
case 14:
case 15:
goto Label_00C7;
case 0x10:
goto Label_00D5;
case 0x11:
case 0x12:
case 0x13:
goto Label_00E9;
case 0x15:
goto Label_0108;
case 0x16:
case 0x29:
case 0x2a:
case 0x2b:
goto Label_0227;
case 0x17:
goto Label_0126;
case 0x18:
goto Label_012B;
case 0x19:
goto Label_0156;
case 0x1a:
goto Label_0174;
case 0x1b:
case 0x1c:
case 0x27:
goto Label_01F6;
case 0x1d:
goto Label_017D;
case 30:
goto Label_0189;
case 0x1f:
goto Label_01A6;
case 0x20:
goto Label_01B5;
case 0x21:
case 0x22:
goto Label_01C8;
case 0x23:
goto Label_01D7;
case 0x24:
case 0x25:
case 0x26:
goto Label_01EB;
case 40:
goto Label_020C;
case 0x2c:
goto Label_026B;
case 0x2d:
goto Label_027C;
case 0x2e:
goto Label_0288;
case 0x2f:
goto Label_0299;
case 0x30:
goto Label_02A5;
case 0x31:
goto Label_02BA;
case 50:
case 0x35:
case 0x36:
goto Label_02DF;
case 0x33:
goto Label_02C8;
case 0x34:
goto Label_02CD;
case 0x37:
goto Label_02FD;
case 0x38:
goto Label_0315;
case 0x39:
goto Label_0321;
case 0x3a:
case 0x3b:
goto Label_0485;
default:
goto Label_047A;
}
Label_043A:
num4 = num5;
switch (((num3 > -2) ? num3 : 1))
{
case 0:
goto Label_047A;
case 1:
goto Label_0340;
}
}
catch (Exception exception1) when (?)
{
ProjectData.SetProjectError(exception1);
goto Label_043A;
}
Label_047A:
throw ProjectData.CreateProjectError(-2146828237);
Label_0485:
if (num4 != 0)
{
ProjectData.ClearProjectError();
}
}
2016年03月22日 06点03分 1
1