示例#1
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing && painter != null) {
         painter.Dispose();
         painter = null;
     }
 }
示例#2
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing && painter != null)
     {
         painter.Dispose();
         painter = null;
     }
 }