Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MSDNによると:
Control.Disposing プロパティ 基本 Control クラスが破棄中かどうかを示す値を取得します。
しかし、私がチェックしたとき、コントロールの Disposing プロパティは常に false です (Dispose() メソッド自体の内部)。
この Disposing プロパティはいつ true になりますか?
Control.Disposingが呼び出された後にtrue にDispose()なり、破棄された後に再び false にIsDisposedなり、true になります。
Control.Disposing
Dispose()
IsDisposed