コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\StudentSchedule.xaml"
                ((PointOfSale.StudentSchedule)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.studentScheduler = ((Syncfusion.UI.Xaml.Schedule.SfSchedule)(target));
                return;

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

            #line 43 "..\..\StudentSchedule.xaml"
                this.cmbStudentName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbStudentName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.txbCompleted = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txbPending = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 98 "..\..\StudentSchedule.xaml"
                this.btnWeek.Click += new System.Windows.RoutedEventHandler(this.btnWeek_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnMonth = ((System.Windows.Controls.Button)(target));

            #line 105 "..\..\StudentSchedule.xaml"
                this.btnMonth.Click += new System.Windows.RoutedEventHandler(this.btnMonth_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.studentScheduler = ((Syncfusion.UI.Xaml.Schedule.SfSchedule)(target));
                return;

            case 2:
                this.cmbInstructorName = ((System.Windows.Controls.ComboBox)(target));

            #line 53 "..\..\InstructorSchedule.xaml"
                this.cmbInstructorName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbInstructorName_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\InstructorSchedule.xaml"
                this.btnDay.Click += new System.Windows.RoutedEventHandler(this.btnDay_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\InstructorSchedule.xaml"
                this.btnWeek.Click += new System.Windows.RoutedEventHandler(this.btnWeek_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\InstructorSchedule.xaml"
                this.btnMonth.Click += new System.Windows.RoutedEventHandler(this.btnMonth_Click);

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