private void grdOptionsR_CollapseBoxClickedEvent(object sender)
{
int y = this.grdOptionsR.Location.Y + 6;
y += this.grdOptionsR.IsCollapsed ? this.grdOptionsR.CollapsedHeight : this.grdOptionsR.FullHeight;
this.btnReplaceAll.Location = new Point(this.btnReplaceAll.Location.X, y);
this.btnReplacePrevious.Location = new Point(this.btnReplacePrevious.Location.X, y);
y += this.btnReplaceNext.Location.Y - this.btnReplacePrevious.Location.Y;
this.btnReplaceNext.Location = new Point(this.btnReplaceNext.Location.X, y);
}