Example #1
0
 void IDisposable.Dispose()
 {
     if (GridPen != null)
     {
         GridPen.Dispose();
     }
     if (GridRowMid != null)
     {
         GridRowMid.Dispose();
     }
     if (GridRowHeavy != null)
     {
         GridRowHeavy.Dispose();
     }
     if (GridBar != null)
     {
         GridBar.Dispose();
     }
     if (GridRowDiv != null)
     {
         GridRowDiv.Dispose();
     }
     if (SemiBlack != null)
     {
         SemiBlack.Dispose();
     }
     if (SemiBlackBrush != null)
     {
         SemiBlackBrush.Dispose();
     }
     if (AnotherBrush != null)
     {
         AnotherBrush.Dispose();
     }
 }
 void IDisposable.Dispose()
 {
     if (GridPen != null)
     {
         GridPen.Dispose();
     }
     if (GridRowMid != null)
     {
         GridRowMid.Dispose();
     }
     if (GridRowHeavy != null)
     {
         GridRowHeavy.Dispose();
     }
     if (GridBar != null)
     {
         GridBar.Dispose();
     }
     if (GridRowDiv != null)
     {
         GridRowDiv.Dispose();
     }
 }