Beispiel #1
0
        private void _lstResolution_ItemSelected(Label item, Listbox sender)
        {
            if (_videoModeList.ContainsKey(item.Text))
            {
                var sel = _videoModeList[item.Text];
                ConfigurationManager.SetCVar("display.width", (int)sel.Width);
                ConfigurationManager.SetCVar("display.height", (int)sel.Height);

                CluwneLib.UpdateVideoSettings();
                FormResize();
            }
        }
 private void ApplyVideoMode()
 {
     CluwneLib.UpdateVideoSettings();
 }
Beispiel #3
0
 private void _btnApply_Clicked(Button sender)
 {
     CluwneLib.UpdateVideoSettings();
 }