예제 #1
0
 /// <summary>
 /// 考勤查询
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void queryaMenu_Click(object sender, RoutedEventArgs e)
 {
     Gird_Content.Children.Clear();
     view.FrmAttendance jser = new view.FrmAttendance();
     Gird_Content.Children.Add(jser);
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Attendance = ((学员管理系统_ADO.NET_.view.FrmAttendance)(target));

            #line 7 "..\..\..\view\FrmAttendance.xaml"
                this.Attendance.Loaded += new System.Windows.RoutedEventHandler(this.Attendance_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.Stu_Select = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.select_Name_Cardid = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\view\FrmAttendance.xaml"
                this.select_Name_Cardid.Click += new System.Windows.RoutedEventHandler(this.select_Name_Cardid_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\view\FrmAttendance.xaml"
                this.late_stu.Click += new System.Windows.RoutedEventHandler(this.late_stu_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\view\FrmAttendance.xaml"
                this.early_stu.Click += new System.Windows.RoutedEventHandler(this.early_stu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.select_Time = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.all_data = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 76 "..\..\..\view\FrmAttendance.xaml"
                this.date_select.Click += new System.Windows.RoutedEventHandler(this.date_select_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.uppage = ((System.Windows.Controls.Button)(target));

            #line 86 "..\..\..\view\FrmAttendance.xaml"
                this.uppage.Click += new System.Windows.RoutedEventHandler(this.uppage_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.downpage = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\..\view\FrmAttendance.xaml"
                this.downpage.Click += new System.Windows.RoutedEventHandler(this.uppage_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.gopage = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\..\view\FrmAttendance.xaml"
                this.gopage.Click += new System.Windows.RoutedEventHandler(this.uppage_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.page1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.allPage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.AttTable = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 119 "..\..\..\view\FrmAttendance.xaml"
                this.Close.Click += new System.Windows.RoutedEventHandler(this.Close_Click);

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