public void SetStates(DockAreas dockAreas)
{
this._mOldDockAreas = dockAreas;
if ((dockAreas & DockAreas.DockLeft) != 0)
this._checkBoxDockLeft.Checked = true;
if ((dockAreas & DockAreas.DockRight) != 0)
this._checkBoxDockRight.Checked = true;
if ((dockAreas & DockAreas.DockTop) != 0)
this._checkBoxDockTop.Checked = true;
if ((dockAreas & DockAreas.DockTop) != 0)
this._checkBoxDockTop.Checked = true;
if ((dockAreas & DockAreas.DockBottom) != 0)
this._checkBoxDockBottom.Checked = true;
if ((dockAreas & DockAreas.Document) != 0)
this._checkBoxDockFill.Checked = true;
if ((dockAreas & DockAreas.Float) != 0)
this._checkBoxFloat.Checked = true;
}