Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Form1 = ((OsuSongFetcherGUI___WPF.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.Form1.Loaded += new System.Windows.RoutedEventHandler(this.Form1_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\MainWindow.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.button4 = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\MainWindow.xaml"
     this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_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.Form1 = ((OsuSongFetcherGUI___WPF.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.Form1.Loaded += new System.Windows.RoutedEventHandler(this.Form1_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }