void ReleaseDesignerOutlets() { if (FieldLabel != null) { FieldLabel.Dispose(); FieldLabel = null; } if (ValueLabel != null) { ValueLabel.Dispose(); ValueLabel = null; } }
void ReleaseDesignerOutlets() { if (AlertButton != null) { AlertButton.Dispose(); AlertButton = null; } if (DialogButton != null) { DialogButton.Dispose(); DialogButton = null; } if (Field != null) { Field.Dispose(); Field = null; } if (FieldLabel != null) { FieldLabel.Dispose(); FieldLabel = null; } if (NotificationButton != null) { NotificationButton.Dispose(); NotificationButton = null; } if (ResultLabel != null) { ResultLabel.Dispose(); ResultLabel = null; } }