Beispiel #1
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.WindowHeader = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.radDatePicker = ((Telerik.Windows.Controls.RadDatePicker)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.btnViewAttendance = ((Telerik.Windows.Controls.RadButton)(target));

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

            #line default
            #line hidden
                return;

            case 7:
                this.btnMarkAttendance = ((Telerik.Windows.Controls.RadButton)(target));

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

            #line default
            #line hidden
                return;

            case 8:
                this.UsaserName = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 115 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.gvClassAttendanceListView = ((Telerik.Windows.Controls.RadGridView)(target));
                return;

            case 11:
                this.btnCMEdit = ((Telerik.Windows.Controls.RadMenuItem)(target));

            #line 176 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
                this.btnCMEdit.Click += new Telerik.Windows.RadRoutedEventHandler(this.btnCMEdit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 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.WindowHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.cmbClassList = ((System.Windows.Controls.ComboBox)(target));
     
     #line 54 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
     this.cmbClassList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbClassList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.radDatePicker = ((Telerik.Windows.Controls.RadDatePicker)(target));
     
     #line 70 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
     this.radDatePicker.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbClassList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnViewAttendance = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 81 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
     this.btnViewAttendance.Click += new System.Windows.RoutedEventHandler(this.btnViewAttendance_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnMarkAttendance = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 86 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
     this.btnMarkAttendance.Click += new System.Windows.RoutedEventHandler(this.btnMarkAttendance_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.UsaserName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.CloseButton = ((System.Windows.Controls.Button)(target));
     
     #line 115 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
     this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.gvClassAttendanceListView = ((Telerik.Windows.Controls.RadGridView)(target));
     return;
     case 11:
     this.btnCMEdit = ((Telerik.Windows.Controls.RadMenuItem)(target));
     
     #line 176 "..\..\..\..\Setups\ucClassAttendanceListView.xaml"
     this.btnCMEdit.Click += new Telerik.Windows.RadRoutedEventHandler(this.btnCMEdit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }