public void ResizeElement()
{
if (this.Parent == null || !IsResizable) return;
this.Size = new Size(this.Parent.ClientSize.Width - 10, this.Parent.ClientSize.Height - 35);
this._center = new PointF(this.Size.Width/2, this.Size.Height/2);
this.Invalidate();
}