void ReleaseDesignerOutlets() { if (ButtonCapture != null) { ButtonCapture.Dispose(); ButtonCapture = null; } if (ButtonClearEvents != null) { ButtonClearEvents.Dispose(); ButtonClearEvents = null; } if (ColumnDetails != null) { ColumnDetails.Dispose(); ColumnDetails = null; } if (ColumnEventType != null) { ColumnEventType.Dispose(); ColumnEventType = null; } if (TableEvents != null) { TableEvents.Dispose(); TableEvents = null; } }