private void ResizeWindow(IUserState state)
        {
            var guiConfiguration = state.GetGuiConfiguration();

            this.Width  = guiConfiguration.Width;
            this.Height = guiConfiguration.Height;
            this.Top    = guiConfiguration.Y;
            this.Left   = guiConfiguration.X;
        }
 public GuiConfiguration GetGuiConfiguration()
 {
     return(state.GetGuiConfiguration());
 }