private void connectToXDKButton_Click(object sender, RoutedEventArgs e)
 {
     if (!rte.isConnected)
     {
         rte = new RealTimeEditing(xdkName.Text);
         bool successfulConnection = rte.Connect();
         if (successfulConnection)
         {
             connectToXDKButton.Content     = "Disconnect";
             connectToXDKButton.Background  = Brushes.BlueViolet;
             connectToXDKButton.BorderBrush = Brushes.BlueViolet;
         }
         else
         {
             connectToXDKButton.Content     = "Failure";
             connectToXDKButton.Background  = Brushes.Red;
             connectToXDKButton.BorderBrush = Brushes.Red;
         }
     }
     else
     {
         rte.Disconnect();
         connectToXDKButton.Content     = "Connect";
         connectToXDKButton.Background  = Brushes.BlueViolet;
         connectToXDKButton.BorderBrush = Brushes.BlueViolet;
     }
 }
        public MainWindow(string Values)
        {
            values = Values;
            InitializeComponent();
            loadingBlock.Visibility = System.Windows.Visibility.Visible;
            XboxManager xmb = new XboxManager();

            rte          = new RealTimeEditing();
            xdkName.Text = xmb.DefaultConsole;
            Elysium.Manager.Apply(Application.Current, Elysium.Theme.Light, Brushes.BlueViolet, Brushes.Black);
        }