鱼C论坛

 找回密码
 立即注册
查看: 941|回复: 0

求大神帮忙看下代码

[复制链接]
发表于 2020-8-12 15:13:23 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
本人萌新,试着破解 基于NET开发的一程序,发现下列代码可能是与注册相关的,但奈何看了几个小时看不明白,求大神帮忙看清注册码是通过什么运算得到的,万分感谢。
.method private hidebysig instance void  yh_list_Load(object sender,
                                                      class [mscorlib]System.EventArgs e) cil managed
{
  // Code size       246 (0xf6)
  .maxstack  3
  .locals init ([0] valuetype [mscorlib]System.DateTime CS$0$0000,
           [1] int32 CS$0$0001)
  IL_0000:  nop
  IL_0001:  ldarg.0
  IL_0002:  ldfld      class [DevComponents.DotNetBar2]DevComponents.DotNetBar.Controls.DataGridViewX hh_ajxt.yh_list_all::dataGridView1
  IL_0007:  ldc.i4.0
  IL_0008:  callvirt   instance void [System.Windows.Forms]System.Windows.Forms.DataGridView::set_AutoGenerateColumns(bool)
  IL_000d:  nop
  IL_000e:  ldarg.0
  IL_000f:  ldfld      class [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox hh_ajxt.yh_list_all::yearcmb
  IL_0014:  callvirt   instance class [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox::get_Items()
  IL_0019:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
  IL_001e:  stloc.0
  IL_001f:  ldloca.s   CS$0$0000
  IL_0021:  call       instance int32 [mscorlib]System.DateTime::get_Year()
  IL_0026:  ldc.i4.3
  IL_0027:  sub
  IL_0028:  stloc.1
  IL_0029:  ldloca.s   CS$0$0001
  IL_002b:  call       instance string [mscorlib]System.Int32::ToString()
  IL_0030:  callvirt   instance int32 [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection::Add(object)
  IL_0035:  pop
  IL_0036:  ldarg.0
  IL_0037:  ldfld      class [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox hh_ajxt.yh_list_all::yearcmb
  IL_003c:  callvirt   instance class [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox::get_Items()
  IL_0041:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
  IL_0046:  stloc.0
  IL_0047:  ldloca.s   CS$0$0000
  IL_0049:  call       instance int32 [mscorlib]System.DateTime::get_Year()
  IL_004e:  ldc.i4.2
  IL_004f:  sub
  IL_0050:  stloc.1
  IL_0051:  ldloca.s   CS$0$0001
  IL_0053:  call       instance string [mscorlib]System.Int32::ToString()
  IL_0058:  callvirt   instance int32 [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection::Add(object)
  IL_005d:  pop
  IL_005e:  ldarg.0
  IL_005f:  ldfld      class [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox hh_ajxt.yh_list_all::yearcmb
  IL_0064:  callvirt   instance class [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox::get_Items()
  IL_0069:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
  IL_006e:  stloc.0
  IL_006f:  ldloca.s   CS$0$0000
  IL_0071:  call       instance int32 [mscorlib]System.DateTime::get_Year()
  IL_0076:  ldc.i4.1
  IL_0077:  sub
  IL_0078:  stloc.1
  IL_0079:  ldloca.s   CS$0$0001
  IL_007b:  call       instance string [mscorlib]System.Int32::ToString()
  IL_0080:  callvirt   instance int32 [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection::Add(object)
  IL_0085:  pop
  IL_0086:  ldarg.0
  IL_0087:  ldfld      class [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox hh_ajxt.yh_list_all::yearcmb
  IL_008c:  callvirt   instance class [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox::get_Items()
  IL_0091:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
  IL_0096:  stloc.0
  IL_0097:  ldloca.s   CS$0$0000
  IL_0099:  call       instance int32 [mscorlib]System.DateTime::get_Year()
  IL_009e:  stloc.1
  IL_009f:  ldloca.s   CS$0$0001
  IL_00a1:  call       instance string [mscorlib]System.Int32::ToString()
  IL_00a6:  callvirt   instance int32 [System.Windows.Forms]System.Windows.Forms.ComboBox/ObjectCollection::Add(object)
  IL_00ab:  pop
  IL_00ac:  ldarg.0
  IL_00ad:  ldfld      class [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox hh_ajxt.yh_list_all::yearcmb
  IL_00b2:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
  IL_00b7:  stloc.0
  IL_00b8:  ldloca.s   CS$0$0000
  IL_00ba:  call       instance int32 [mscorlib]System.DateTime::get_Year()
  IL_00bf:  stloc.1
  IL_00c0:  ldloca.s   CS$0$0001
  IL_00c2:  call       instance string [mscorlib]System.Int32::ToString()
  IL_00c7:  callvirt   instance void [System.Windows.Forms]System.Windows.Forms.ToolStripItem::set_Text(string)
  IL_00cc:  nop
  IL_00cd:  ldarg.0
  IL_00ce:  ldfld      class [System.Windows.Forms]System.Windows.Forms.ToolStripComboBox hh_ajxt.yh_list_all::moncmb
  IL_00d3:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
  IL_00d8:  stloc.0
  IL_00d9:  ldloca.s   CS$0$0000
  IL_00db:  call       instance int32 [mscorlib]System.DateTime::get_Month()
  IL_00e0:  stloc.1
  IL_00e1:  ldloca.s   CS$0$0001
  IL_00e3:  call       instance string [mscorlib]System.Int32::ToString()
  IL_00e8:  callvirt   instance void [System.Windows.Forms]System.Windows.Forms.ToolStripItem::set_Text(string)
  IL_00ed:  nop
  IL_00ee:  ldarg.0
  IL_00ef:  call       instance void hh_ajxt.yh_list_all::cxtz()
  IL_00f4:  nop
  IL_00f5:  ret
} // end of method yh_list_all::yh_list_Load


想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-15 15:21

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表