Пример #1
0
        private void setfov_Click(object sender, RoutedEventArgs e)
        {
            int fovval = (int)FOVSlider.Value;

            GameFileEditor.SetRes(fovval.ToString(), Screen.PrimaryScreen.Bounds.Width.ToString(), 2);
            System.Windows.Forms.MessageBox.Show("Set FOV to " + fovval, "Pro Swapper FOV", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
Пример #2
0
        private void reset_Click(object sender, RoutedEventArgs e)
        {
            string XRes = Screen.PrimaryScreen.Bounds.Width.ToString();
            string YRes = Screen.PrimaryScreen.Bounds.Height.ToString();

            GameFileEditor.SetRes(YRes, XRes, 0);
            System.Windows.Forms.MessageBox.Show("Reset the resolution to normal", "Pro Swapper Resolution Changer", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
Пример #3
0
        private void reset_Click(object sender, RoutedEventArgs e)
        {
            string screenWidth  = Screen.PrimaryScreen.Bounds.Width.ToString();
            string screenHeight = Screen.PrimaryScreen.Bounds.Height.ToString();

            GameFileEditor.SetRes(screenHeight, screenWidth);
            System.Windows.Forms.MessageBox.Show("Set Resolution to " + screenWidth + " x " + screenHeight, "Pro Swapper Resolution Changer", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
Пример #4
0
 private void setresbutton_Click(object sender, RoutedEventArgs e)
 {
     GameFileEditor.SetRes(yres.Text, xres.Text, 0);
     System.Windows.Forms.MessageBox.Show("Set Resolution to " + xres.Text + " x " + yres.Text, "Pro Swapper Resolution Changer", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }