AdvancedLogParser.PrimaryDisplay.RemoveButtons C# (CSharp) Method

RemoveButtons() private method

private RemoveButtons ( ) : void
return void
        private void RemoveButtons()
        {
            if (this.Controls.Contains(thisMonth))
            {
                this.Controls.Remove(thisMonth);
            }
            if (this.Controls.Contains(lastMonth))
            {
                this.Controls.Remove(lastMonth);
            }
            if (this.Controls.Contains(older))
            {
                this.Controls.Remove(older);
            }
        }
    }