public Page2(Window1 parent)
        {
            this.parent = parent;
            toolsToInstall = new List<Tools>();
            InitializeComponent();

            vagrantLabel.Content = "Searching for existing Vagrant installation";
            vboxLabel.Content = "Searching for existing Virtual Box installation";
            jdkLabel.Content = "Searching for existing JDK installation";

            Thread t1 = new Thread(() => setPath(Tools.Vagrant, false));
            Thread t2 = new Thread(() => setPath(Tools.Virtual_Box, true));
            Thread t3 = new Thread(() => setPath(Tools.JDK, false));

            t1.Start();
            t2.Start();
            t3.Start();

            Thread t4 = new Thread(() => {
                while (t1.IsAlive || t2.IsAlive || t3.IsAlive) {
                                   		Thread.Sleep(500);
                }
               	this.Dispatcher.Invoke((Action)(() => this.parent.ToggleDownloadButton(true)));
            });
            t4.Start();
        }
 public Page1(Window1 parent, Page successor)
 {
     InitializeComponent();
     this.parent = parent;
     this.next = successor;
     this.login.Focus();
 }
 public PageHandler(Window1 window)
 {
     mainWindow = window;
 }
 public Page3(List<Tools> installTools, Window1 parent)
 {
     this.parent = parent;
     tools = new List<Tools>(installTools);
     InitializeComponent();
 }
 public Page4(Window1 parent)
 {
     this.parent = parent;
     InitializeComponent();
 }