|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
00 nop
.try {
00 nop
73 37 01 00 0A newobj instance void [System.Windows.Forms]System.Windows.Forms.OpenFileDialog::.ctor()
0A stloc.0
06 ldloc.0
72 11 43 00 70 ldstr aFileEltElt // "File(*.elt)|*.elt"
6F 38 01 00 0A callvirt instance void [System.Windows.Forms]System.Windows.Forms.FileDialog::set_Filter(string)
00 nop
06 ldloc.0
6F 39 01 00 0A callvirt instance valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult [System.Windows.Forms]System.Windows.Forms.CommonDialog::ShowDialog()
17 ldc.i4.1
FE 01 ceq
0B stloc.1
07 ldloc.1
39 91 00 00 00 brfalse loc_7415
00 nop
73 78 00 00 0A newobj instance void [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter::.ctor()
0C stloc.2
06 ldloc.0
6F 3A 01 00 0A callvirt instance string [System.Windows.Forms]System.Windows.Forms.FileDialog::get_FileName()
19 ldc.i4.3
17 ldc.i4.1
17 ldc.i4.1
73 3B 01 00 0A newobj instance void [mscorlib]System.IO.FileStream::.ctor(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare)
0D stloc.3
08 ldloc.2
09 ldloc.3
6F 3C 01 00 0A callvirt instance object [mscorlib]System.Runtime.Serialization.IFormatter::Deserialize(class [mscorlib]System.IO.Stream)
74 4B 00 00 02 castclass ElitechLog.Models.Parameters
13 04 stloc.s 4
09 ldloc.3
6F 3D 01 00 0A callvirt instance void [mscorlib]System.IO.Stream::Close()
00 nop
02 ldarg.0
7B 3E 00 00 04 ldfld class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters> ElitechLog.MainForm::allParameters
6F 13 01 00 0A callvirt instance void class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters>::Clear()
00 nop
02 ldarg.0
7B 3E 00 00 04 ldfld class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters> ElitechLog.MainForm::allParameters
11 04 ldloc.s 4
6F D2 00 00 0A callvirt instance void class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters>::Add(var<u1>)
00 nop
02 ldarg.0
02 ldarg.0
7B 3E 00 00 04 ldfld class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters> ElitechLog.MainForm::allParameters
28 AB 00 00 06 call instance void ElitechLog.MainForm::ShowChartForm(class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters> parameters)
00 nop
72 35 43 00 70 ldstr asc_DF318 // "导入成功"
28 66 00 00 06 call string ElitechLog.T::_(string text)
28 FB 02 00 06 call void ElitechLog.Utils.Message::ShowInfo(string msg)
00 nop
72 3F 43 00 70 ldstr a0_11 // "导入了 {0} 条数据"
28 66 00 00 06 call string ElitechLog.T::_(string text)
02 ldarg.0
7B 3E 00 00 04 ldfld class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters> ElitechLog.MainForm::allParameters
6F 36 01 00 0A callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1<class ElitechLog.Models.Parameters>::get_Count()
8C 3F 01 00 01 box [mscorlib]System.Int32
28 68 00 00 0A call string [mscorlib]System.String::Format(string, object)
13 05 stloc.s 5
20 BC 0B 00 00 ldc.i4 0xBBC
11 05 ldloc.s 5
28 74 00 00 06 call void ElitechLog.logger::Info(valuetype ElitechLog.Actions action, string msg)
00 nop
00 nop
loc_7415: // CODE XREF: ElitechLog.MainForm__sbtnImport_Click+1F↑j
00 nop
DE 32 leave.s loc_744A
}
catch [mscorlib]System.Exception {
13 06 stloc.s 6
00 nop
72 57 43 00 70 ldstr asc_DF33A // "导入失败"
28 66 00 00 06 call string ElitechLog.T::_(string text)
28 FB 02 00 06 call void ElitechLog.Utils.Message::ShowInfo(string msg)
00 nop
20 BC 0B 00 00 ldc.i4 0xBBC
72 57 43 00 70 ldstr asc_DF33A // "导入失败"
11 06 ldloc.s 6
6F 4A 00 00 0A callvirt instance string [mscorlib]System.Object::ToString()
28 38 00 00 0A call string [mscorlib]System.String::Concat(string, string)
28 74 00 00 06 call void ElitechLog.logger::Info(valuetype ElitechLog.Actions action, string msg)
00 nop
00 nop
DE 00 leave.s loc_744A
}
loc_744A: // CODE XREF: ElitechLog.MainForm__sbtnImport_Click+B6↑j
// ElitechLog.MainForm__sbtnImport_Click+E8↑j
2A ret
|
|