Esempio n. 1
0
        public void ClickAction()
        {
            //MessageBox.Show("New tech coming soon from Stealth Robotics.", "Oops! That's not ready!",
            //    MessageBoxButton.OK, MessageBoxImage.Information);
            //todo: check desktop, if not there, let the user know it needs to be.
            string dashboard = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\HoloDash.exe";

            if (File.Exists(dashboard))
            {
                ProgramStarter.Start($"\"{dashboard}\"");
            }
            else
            {
                MessageBox.Show("Couldn't find the dashboard. Make sure the dashboard is on the desktop and named HoloDash.exe.",
                                "Oops! Couldn't find that.", MessageBoxButton.OK, MessageBoxImage.Warning);
            }
        }
 public void ClickAction()
 {
     ProgramStarter.Start("java -jar \"%userprofile%/wpilib/tools/SmartDashboard.jar\"");
 }
Esempio n. 3
0
 public void ClickAction()
 {
     //install location will be local even after install
     ProgramStarter.Start("StealthRobotics.Dashboard.exe");
 }
 public void ClickAction()
 {
     ProgramStarter.Start("java -jar \"%userprofile%/wpilib/tools/OutlineViewer.jar\"");
 }