Ejemplo n.º 1
0
 private void btnborrowerWindow_Click(object sender, RoutedEventArgs e)
 {
     BarrowerUC.loadCourse();
     storyBoardExit();
     checker = "Barrower";
     menuslide(true, "sbShowBarrowerMenu", "sbHideBarrowerMenu", BarrowerUC);
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((SampleSystem.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.main_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.first_row_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.LoadData = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 6:
                this.gridDataLoading = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.txt_time = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 133 "..\..\MainWindow.xaml"
                this.btnRightMenuShow.Click += new System.Windows.RoutedEventHandler(this.btnRightMenuShow_Click);

            #line default
            #line hidden
                return;

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

            #line 138 "..\..\MainWindow.xaml"
                this.btnRightMenuHide.Click += new System.Windows.RoutedEventHandler(this.btnRightMenuHide_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Notifs = ((SampleSystem.Notifications)(target));
                return;

            case 11:
                this.BooksData_UC = ((SampleSystem.BooksData)(target));
                return;

            case 12:
                this.AuthorData_UC = ((SampleSystem.AuthorData)(target));
                return;

            case 13:
                this.BarrowerUC = ((SampleSystem.BarrowerUC)(target));
                return;

            case 14:
                this.Course_UC = ((SampleSystem.CourseUC)(target));
                return;

            case 15:
                this.TransUC = ((SampleSystem.TransactionUC)(target));
                return;

            case 16:
                this.second_row_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.btnUserWindow = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\MainWindow.xaml"
                this.btnUserWindow.Click += new System.Windows.RoutedEventHandler(this.btnUserWindow_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnbooksWindow = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\MainWindow.xaml"
                this.btnbooksWindow.Click += new System.Windows.RoutedEventHandler(this.btnbooksWindow_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btnAuthorWindow = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\MainWindow.xaml"
                this.btnAuthorWindow.Click += new System.Windows.RoutedEventHandler(this.btnAuthorWindow_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnHome = ((System.Windows.Controls.Button)(target));

            #line 195 "..\..\MainWindow.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.btnHome_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnborrowerWindow = ((System.Windows.Controls.Button)(target));

            #line 204 "..\..\MainWindow.xaml"
                this.btnborrowerWindow.Click += new System.Windows.RoutedEventHandler(this.btnborrowerWindow_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnCourseWindow = ((System.Windows.Controls.Button)(target));

            #line 213 "..\..\MainWindow.xaml"
                this.btnCourseWindow.Click += new System.Windows.RoutedEventHandler(this.btnCourseWindow_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnTransWindow = ((System.Windows.Controls.Button)(target));

            #line 222 "..\..\MainWindow.xaml"
                this.btnTransWindow.Click += new System.Windows.RoutedEventHandler(this.btnTransWindow_Click);

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