// Token: 0x060014ED RID: 5357 RVA: 0x0002A188 File Offset: 0x00028388
        private static bool smethod_0()
        {
            EventArgs19 eventArgs = new EventArgs19();

            using (IEnumerator <Form0> enumerator = Form0.class121_0.LiveList.GetEnumerator())
            {
                Form0.Class81 @class = new Form0.Class81();
                while (enumerator.MoveNext())
                {
                    Form0 form0_ = enumerator.Current;
                    @class.form0_0 = form0_;
                    @class.form0_0.vmethod_1(eventArgs);
                    if (eventArgs.Cancel)
                    {
                        Form0.Class82 class2 = new Form0.Class82();
                        class2.class81_0 = @class;
                        Enum29 @enum = Environment.OSVersion.smethod_0();
                        if (!string.IsNullOrEmpty(eventArgs.CancelReason) && (@enum <= Enum29.const_0 || @enum >= Enum29.const_16))
                        {
                            class2.bool_0 = Class265.ShutdownBlockReasonCreate(@class.form0_0.Handle, eventArgs.CancelReason);
                        }
                        else
                        {
                            class2.bool_0 = false;
                        }
                        @class.form0_0.FormClosed += class2.method_0;
                        return(false);
                    }
                }
            }
            return(true);
        }
 // 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();
     }
 }
        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;
            }
        }