Beispiel #1
0
        public virtual void 終了する()
        {
            using (Log.Block(FDKUtilities.現在のメソッド名))
            {
                this.進行描画.終了する().WaitOne();  // 終了するまで待つ

                PowerManagement.システムの自動スリープと画面の自動非表示の抑制を解除する();

                TimeGetTime.timeEndPeriod(1);

                this._未初期化 = true;
            }
        }
Beispiel #2
0
        // アプリケーション終了のトリガ。
        protected override void OnClosing(CancelEventArgs e)
        {
            using (Log.Block(FDKUtilities.現在のメソッド名))
            {
                this.On終了();

                this.App進行描画.終了を通知する().WaitOne();  // 終了するまで待つ

                PowerManagement.システムの自動スリープと画面の自動非表示の抑制を解除する();
                TimeGetTime.timeEndPeriod(1);

                this._未初期化 = true;

                base.OnClosing(e);
            }
        }