void ReleaseDesignerOutlets() { if (HoursField != null) { HoursField.Dispose(); HoursField = null; } if (MinutesField != null) { MinutesField.Dispose(); MinutesField = null; } if (SecondsField != null) { SecondsField.Dispose(); SecondsField = null; } }
void ReleaseDesignerOutlets() { if (BorderFromField != null) { BorderFromField.Dispose(); BorderFromField = null; } if (BorderToField != null) { BorderToField.Dispose(); BorderToField = null; } if (ChancelButton != null) { ChancelButton.Dispose(); ChancelButton = null; } if (CountersButton != null) { CountersButton.Dispose(); CountersButton = null; } if (DivisionLabel != null) { DivisionLabel.Dispose(); DivisionLabel = null; } if (HoursField != null) { HoursField.Dispose(); HoursField = null; } if (InventoryIDLabel != null) { InventoryIDLabel.Dispose(); InventoryIDLabel = null; } if (MachineIcon != null) { MachineIcon.Dispose(); MachineIcon = null; } if (MachineNameLabel != null) { MachineNameLabel.Dispose(); MachineNameLabel = null; } if (MinutesField != null) { MinutesField.Dispose(); MinutesField = null; } if (OkButton != null) { OkButton.Dispose(); OkButton = null; } if (PhotoButton != null) { PhotoButton.Dispose(); PhotoButton = null; } if (SecondsField != null) { SecondsField.Dispose(); SecondsField = null; } if (SensorIcon != null) { SensorIcon.Dispose(); SensorIcon = null; } if (SensorsButton != null) { SensorsButton.Dispose(); SensorsButton = null; } if (ValueSymbolFromLabel != null) { ValueSymbolFromLabel.Dispose(); ValueSymbolFromLabel = null; } if (ValueSymbolToLabel != null) { ValueSymbolToLabel.Dispose(); ValueSymbolToLabel = null; } }