public frmRightPanel(AzmythGame game, GraphicsDeviceManager graphics)
: base(new Rectangle(0, 0, 300, 300), true)
{
Game = game;
m_graphicsManager = graphics;
Rectangle = new Rectangle((game.GraphicsDevice.Viewport.Width) - 300, 0, 300, game.GraphicsDevice.Viewport.Height);
XnaGUIManager.Controls.Add(this);
// pnlMain = new XGPanel(new Rectangle(0, 0, 300, game.GraphicsDevice.Viewport.Height));
//lstResolutions = new XGListBox(new Rectangle(10, 10, 280, 150));
//foreach (DisplayMode mode in GraphicsAdapter.DefaultAdapter.SupportedDisplayModes)
// {
// if(mode.Width >= 800 && mode.Height >=600)
//}
// lstResolutions.SelectedIndex = 0;
//chkFullScreen = new XGCheckBox(new Rectangle(10, 170, 25, 25), "Fullscreen");
// chkFullScreen.Checked = false;
//chkSimpleMap = new XGCheckBox(new Rectangle(150, 170, 25, 25), "Simple Map");
//chkSimpleMap.Checked = false;
// btnApply = new XGButton(new Rectangle(300-220, 200, 100, 30), "Apply", this.btnApply_Clicked);
// btnExit = new XGButton(new Rectangle(300-110, 200, 100, 30), "Exit", this.btnExit_Clicked);
//Children.Add(pnlMain);
// pnlMain.Children.Add(lstResolutions);
// pnlMain.Children.Add(chkFullScreen);
// pnlMain.Children.Add(chkSimpleMap);
// pnlMain.Children.Add(btnApply);
// pnlMain.Children.Add(btnExit);
}