Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.OutputWindow1 = ((UniversityManager.OutputWindow)(target));
                return;

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

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

            #line 16 "..\..\OutputWindow.xaml"
                this._switch.Click += new System.Windows.RoutedEventHandler(this.switchForms);

            #line default
            #line hidden
                return;

            case 4:
                this.tableMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.person = ((System.Windows.Controls.MenuItem)(target));

            #line 19 "..\..\OutputWindow.xaml"
                this.person.Click += new System.Windows.RoutedEventHandler(this.choseTable);

            #line default
            #line hidden
                return;

            case 6:
                this.student = ((System.Windows.Controls.MenuItem)(target));

            #line 20 "..\..\OutputWindow.xaml"
                this.student.Click += new System.Windows.RoutedEventHandler(this.choseTable);

            #line default
            #line hidden
                return;

            case 7:
                this.prof = ((System.Windows.Controls.MenuItem)(target));

            #line 21 "..\..\OutputWindow.xaml"
                this.prof.Click += new System.Windows.RoutedEventHandler(this.choseTable);

            #line default
            #line hidden
                return;

            case 8:
                this.classes = ((System.Windows.Controls.MenuItem)(target));

            #line 22 "..\..\OutputWindow.xaml"
                this.classes.Click += new System.Windows.RoutedEventHandler(this.choseTable);

            #line default
            #line hidden
                return;

            case 9:
                this.dept = ((System.Windows.Controls.MenuItem)(target));

            #line 23 "..\..\OutputWindow.xaml"
                this.dept.Click += new System.Windows.RoutedEventHandler(this.choseTable);

            #line default
            #line hidden
                return;

            case 10:
                this.prog = ((System.Windows.Controls.MenuItem)(target));

            #line 24 "..\..\OutputWindow.xaml"
                this.prog.Click += new System.Windows.RoutedEventHandler(this.choseTable);

            #line default
            #line hidden
                return;

            case 11:
                this.columnsMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.run = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\OutputWindow.xaml"
                this.run.Click += new System.Windows.RoutedEventHandler(this.buildQuery);

            #line default
            #line hidden
                return;

            case 13:
                this.results = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }