Пример #1
0
 // Token: 0x060014FC RID: 5372 RVA: 0x00005760 File Offset: 0x00003960
 public void method_0(object sender, FormClosedEventArgs e)
 {
     if (this.bool_0)
     {
         Class265.ShutdownBlockReasonDestroy(this.class81_0.form0_0.Handle);
     }
     if (Form0.smethod_0())
     {
         Application.Exit();
     }
 }
Пример #2
0
        private static void smethod_1(object sender, FormClosingEventArgs e)
        {
            CloseReason closeReason = e.CloseReason;

            if (closeReason != CloseReason.WindowsShutDown)
            {
                return;
            }
            if (!e.Cancel && !Form0.smethod_0())
            {
                e.Cancel = true;
            }
        }