void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.test = ((TheSystem.UserControls.SpinnerControl)(target));
                return;

            case 2:
                this.noFreeze = ((System.Windows.Media.RotateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void SetStatus()
        {
            Status status = new Status {
                User_id = Core.User.Id, StatusContent = textBoxContent.Text
            };

            status.StatusSet += Status_StatusSet;

            Application.Current.Dispatcher.Invoke(delegate
            {
                thisControl.Children.Clear();
                SpinnerControl spin = new SpinnerControl();
                thisControl.Children.Add(spin);
            });

            status.Set(Core.Token);
        }