コード例 #1
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (listView != null && !listView.IsDisposed)
     {
         listView.Dispose();
     }
 }
コード例 #2
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (listView?.IsDisposed == false)
     {
         listView.Dispose();
     }
 }