Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((eReading.StrInputBox)(target));
                return;

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

            case 3:
                this.ssid = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.STR = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.title = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.ssid_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.cancel = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\StrInputBox.xaml"
                this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Submit = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\StrInputBox.xaml"
                this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((eReading.StrInputBox)(target));
     return;
     case 2:
     this.Msg = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.ssid = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.STR = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.title = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.ssid_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.cancel = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\..\StrInputBox.xaml"
     this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Submit = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\..\StrInputBox.xaml"
     this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }