Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewModel = ((tscui.Pages.Control.ControlViewModel)(target));
                return;

            case 2:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.spnEastOther = ((System.Windows.Documents.Span)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.viewModel = ((tscui.Pages.Control.ControlViewModel)(target));
     return;
     case 2:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.spnEastOther = ((System.Windows.Documents.Span)(target));
     return;
     }
     this._contentLoaded = true;
 }