public Frm_SlimDXOptions(Video_SlimDX SLIM)
 {
     _SLIM = SLIM;
     InitializeComponent();
     sett.Reload();
     comboBox1.Items.Clear();
     for (int i = 0; i < _SLIM.d3d.Adapters[0].GetDisplayModes(SlimDX.Direct3D9.Format.X8R8G8B8).Count; i++)
     {
         comboBox1.Items.Add(_SLIM.d3d.Adapters[0].GetDisplayModes(SlimDX.Direct3D9.Format.X8R8G8B8)[i].Width + " x " + _SLIM.d3d.Adapters[0].GetDisplayModes(SlimDX.Direct3D9.Format.X8R8G8B8)[i].Height + " " + _SLIM.d3d.Adapters[0].GetDisplayModes(SlimDX.Direct3D9.Format.X8R8G8B8)[i].RefreshRate + " Hz");
     }
     try
     {
         comboBox1.SelectedIndex = sett.SlimDX_ResMode;
     }
     catch
     {
         comboBox1.SelectedIndex = 0;
     }
 }