Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.StartWindow = ((PPC.MainWindow)(target));
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.separator1 = ((System.Windows.Controls.Separator)(target));
                return;

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

            #line 12 "..\..\..\MainWindow.xaml"
                this.ResetButton.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.ConnectButton = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.ConnectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.HelpButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StartWindow = ((PPC.MainWindow)(target));
     return;
     case 2:
     this.StartMainLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.PortStartLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.IPStartTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.PortStartTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.separator1 = ((System.Windows.Controls.Separator)(target));
     return;
     case 7:
     this.ClearStartButton = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.ClearStartButton.Click += new System.Windows.RoutedEventHandler(this.ClearStartButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ConnectStartButton = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.ConnectStartButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.HelpStartButton = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.HelpStartButton.Click += new System.Windows.RoutedEventHandler(this.HelpStartButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.UsernameLabelStart = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.PasswordLabelStart = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.UsernameTextBoxStart = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.PasswordBoxStart = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 14:
     this.IpDBTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.StartWindow = ((PPC.MainWindow)(target));
                return;

            case 2:
                this.StartMainLabel = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 5:
                this.PortStartTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.separator1 = ((System.Windows.Controls.Separator)(target));
                return;

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

            #line 10 "..\..\..\MainWindow.xaml"
                this.ClearStartButton.Click += new System.Windows.RoutedEventHandler(this.ClearStartButton_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\MainWindow.xaml"
                this.ConnectStartButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.HelpStartButton = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.HelpStartButton.Click += new System.Windows.RoutedEventHandler(this.HelpStartButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.UsernameLabelStart = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.PasswordLabelStart = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.UsernameTextBoxStart = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.PasswordBoxStart = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 14:
                this.IpDBTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StartWindow = ((PPC.MainWindow)(target));
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.separator1 = ((System.Windows.Controls.Separator)(target));
     return;
     case 8:
     this.ResetButton = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.ResetButton.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ConnectButton = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.ConnectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.HelpButton = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }