예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Connection = ((KailleraNET.MainWindow)(target));
                return;

            case 2:
                this.button1 = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.usernameBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.serverBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 15 "..\..\..\MainWindow.xaml"
                this.serverListButton.Click += new System.Windows.RoutedEventHandler(this.serverListButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Connection = ((KailleraNET.MainWindow)(target));
     return;
     case 2:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.usernameBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.serverBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.serverListButton = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\MainWindow.xaml"
     this.serverListButton.Click += new System.Windows.RoutedEventHandler(this.serverListButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }