Пример #1
0
        public void GetResolution()
        {
            int index = Resolutions.FindIndex(match =>
                                              match.Width == graphics.PreferredBackBufferWidth &&
                                              match.Height == graphics.PreferredBackBufferHeight);

            if (index < 0)
            {
                index = 0;
            }

            Send("getResolution", index);
        }