void ReleaseDesignerOutlets() { if (TFMaxTemp != null) { TFMaxTemp.Dispose(); TFMaxTemp = null; } if (TFMinTemp != null) { TFMinTemp.Dispose(); TFMinTemp = null; } if (TFName != null) { TFName.Dispose(); TFName = null; } if (TFType != null) { TFType.Dispose(); TFType = null; } }
void ReleaseDesignerOutlets() { if (btnCreate != null) { btnCreate.Dispose(); btnCreate = null; } if (TFName != null) { TFName.Dispose(); TFName = null; } if (TFNumber != null) { TFNumber.Dispose(); TFNumber = null; } }