Exemplo n.º 1
0
 protected override void Dispose(bool disposing)
 {
     if (calendaredit1 != null)
     {
         calendaredit1.Dispose();
         calendaredit1 = null;
     }
     if (WeekNumber != null)
     {
         WeekNumber.Dispose();
         WeekNumber = null;
     }
     if (PrevAndNextMonth != null)
     {
         PrevAndNextMonth.Dispose();
         PrevAndNextMonth = null;
     }
     if (MaxAndMinDays != null)
     {
         MaxAndMinDays.Dispose();
         MaxAndMinDays = null;
     }
     base.Dispose(disposing);
 }