private void OnTableSelected(object sender, EventArgs e)
 {
     if (!_windowLocked && TableSelector.Instance.SelectedTable != null)
     {
         TableComponent     = TableSelector.Instance.SelectedTable;
         PlayfieldComponent = TableComponent.GetComponentInChildren <PlayfieldComponent>();
         SetTable(TableComponent);
         Repaint();
     }
 }