private void PlayButton_Click(object sender, MouseButtonEventArgs e)
        {
            LaunchGame.Launch(Executable);

            //Terminate Launcher
            Application.Current.Shutdown();
        }
        public MainWindow()
        {
            InitializeComponent();
            CreateINI();

            if (GetCustomEXE() != "NULL")
            {
                Executable = GetCustomEXE();
            }

            if (GetAlternativeBG())
            {
                System.Windows.Media.Imaging.BitmapImage altBG = new System.Windows.Media.Imaging.BitmapImage();
                altBG.BeginInit();
                altBG.UriSource = new Uri("../Backgrounds/powerarmor.png", UriKind.Relative);
                altBG.EndInit();
                Background.Source = altBG;
            }

            //Menu Item click handlers
            PlayButton.MouseLeftButtonDown    += new MouseButtonEventHandler(PlayButton_Click);
            OptionsButton.MouseLeftButtonDown += new MouseButtonEventHandler(OptionsButton_Click);
            ExitButton.MouseLeftButtonDown    += new MouseButtonEventHandler(ExitButton_Click);

            //Left Mouse button handler
            MouseLeftButtonDown += new MouseButtonEventHandler(MainWindow_MouseDown);

            //xInput Initialization
            getCurrentController();

            //xInput listener
            xListener.DoWork += xListener_DoWork;

            //Skip launcher, if "-NoLauncher" arg is set
            if (CMDArguments.SkipLauncher() == true)
            {
                LaunchGame.Launch(Executable);

                //Terminate Launcher
                Application.Current.Shutdown();
            }
        }