Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._mainWindow = ((MicrosoftProjectOxfordExample.MainWindow)(target));
                return;

            case 2:
                this._logText = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._mainWindow = ((MicrosoftProjectOxfordExample.MainWindow)(target));
     return;
     case 2:
     this.A1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.A2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.A3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.B3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.B2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.B1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.C1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.C2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.C3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this._logText = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }