コード例 #1
0
 void ReleaseDesignerOutlets()
 {
     if (BirthdayOccupation != null)
     {
         BirthdayOccupation.Dispose();
         BirthdayOccupation = null;
     }
     if (Email != null)
     {
         Email.Dispose();
         Email = null;
     }
     if (Frequency != null)
     {
         Frequency.Dispose();
         Frequency = null;
     }
     if (FromWhere != null)
     {
         FromWhere.Dispose();
         FromWhere = null;
     }
     if (NameLabel != null)
     {
         NameLabel.Dispose();
         NameLabel = null;
     }
     if (PartiaOkreg != null)
     {
         PartiaOkreg.Dispose();
         PartiaOkreg = null;
     }
     if (PoselImage != null)
     {
         PoselImage.Dispose();
         PoselImage = null;
     }
     if (Telephone != null)
     {
         Telephone.Dispose();
         Telephone = null;
     }
     if (UstawyUchwaly != null)
     {
         UstawyUchwaly.Dispose();
         UstawyUchwaly = null;
     }
 }