Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .method private hidebysig instance void btnOK_Click(object sender, class [mscorlib]System.EventArgs e) cil managed
- {
- .maxstack 2
- .locals init (
- [0] bool flag)
- L_0000: nop
- L_0001: ldarg.0
- L_0002: ldfld class [System.Windows.Forms]System.Windows.Forms.TextBox Marées.FLicence::tbCode
- L_0007: callvirt instance string [System.Windows.Forms]System.Windows.Forms.Control::get_Text()
- L_000c: call bool Marées.FLicence::match(string)
- L_0011: ldc.i4.0
- L_0012: ceq
- L_0014: stloc.0
- L_0015: ldloc.0
- L_0016: brtrue.s L_004f
- L_0018: nop
- L_0019: ldstr "Bravo !"
- L_001e: call valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult [System.Windows.Forms]System.Windows.Forms.MessageBox::Show(string)
- L_0023: pop
- L_0024: ldarg.0
- L_0025: ldfld class Marées.FPrincipale Marées.FLicence::fParent
- L_002a: ldfld class Marées.VarGlobales Marées.FPrincipale::varGlobales
- L_002f: ldarg.0
- L_0030: ldfld class [System.Windows.Forms]System.Windows.Forms.TextBox Marées.FLicence::tbCode
- L_0035: callvirt instance string [System.Windows.Forms]System.Windows.Forms.Control::get_Text()
- L_003a: stfld string Marées.VarGlobales::strCodeUtilisateur
- L_003f: ldc.i4.0
- L_0040: stsfld bool Marées.FPrincipale::VERSION_DEMO
- L_0045: ldarg.0
- L_0046: call instance void [System.Windows.Forms]System.Windows.Forms.Form::Close()
- L_004b: nop
- L_004c: nop
- L_004d: br.s L_0063
- L_004f: nop
- L_0050: ldstr "Pas de correspondance entre le num\u00e9ro utilisateur et le code"
- L_0055: call valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult [System.Windows.Forms]System.Windows.Forms.MessageBox::Show(string)
- L_005a: pop
- L_005b: ldarg.0
- L_005c: call instance void [System.Windows.Forms]System.Windows.Forms.Form::Close()
- L_0061: nop
- L_0062: nop
- L_0063: ret
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement