void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ClassAttendanceUserControl = ((ES.UI.Setups.ucClassAttendanceListView)(target));
     return;
     case 2:
     this.ShellHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.cmbClassList = ((System.Windows.Controls.ComboBox)(target));
     
     #line 36 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
     this.cmbClassList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbClassList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.radDatePicker = ((System.Windows.Controls.DatePicker)(target));
     
     #line 50 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
     this.radDatePicker.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.cmbClassList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnViewAttendance = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
     this.btnViewAttendance.Click += new System.Windows.RoutedEventHandler(this.btnViewAttendance_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnMarkAttendance = ((System.Windows.Controls.Button)(target));
     
     #line 66 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
     this.btnMarkAttendance.Click += new System.Windows.RoutedEventHandler(this.btnMarkAttendance_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.gvClassAttendanceListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
     return;
     case 8:
     
     #line 123 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_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.ClassAttendanceUserControl = ((ES.UI.Setups.ucClassAttendanceListView)(target));
                return;

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

            case 3:
                this.cmbClassList = ((System.Windows.Controls.ComboBox)(target));

            #line 36 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
                this.cmbClassList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbClassList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.radDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 50 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
                this.radDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.cmbClassList_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
                this.btnViewAttendance.Click += new System.Windows.RoutedEventHandler(this.btnViewAttendance_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
                this.btnMarkAttendance.Click += new System.Windows.RoutedEventHandler(this.btnMarkAttendance_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.gvClassAttendanceListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
                return;

            case 8:

            #line 123 "..\..\..\..\..\Setups\Attendance\ucClassAttendanceListView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click);

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