Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowArea = ((Notifications.Wpf.Controls.NotificationArea)(target));
                return;

            case 2:
                this.SearchByDate = ((System.Windows.Controls.Button)(target));
                return;

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

            case 4:
                this.List = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.Tasks = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.PopupGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.DetailsPopUp = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 8:
                this.pager = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 11:
                this.PageInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.NextPage = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.LastPage = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserNumber = ((System.Windows.Controls.TextBox)(target));

            #line 36 "..\..\..\..\InsertNewExam.xaml"
                this.UserNumber.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.UserNumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 2:
                this.UserName = ((System.Windows.Controls.TextBox)(target));

            #line 40 "..\..\..\..\InsertNewExam.xaml"
                this.UserName.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.UserNameValidationTextBox);

            #line default
            #line hidden
                return;

            case 3:
                this.UserDateOfBirth = ((System.Windows.Controls.DatePicker)(target));

            #line 44 "..\..\..\..\InsertNewExam.xaml"
                this.UserDateOfBirth.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.UserDateOfBirthValidationDatePicker);

            #line default
            #line hidden
                return;

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

            case 5:
                this.ExamsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 64 "..\..\..\..\InsertNewExam.xaml"
                this.ExamsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ExamsListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.WindowArea = ((Notifications.Wpf.Controls.NotificationArea)(target));
                return;

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

            #line 102 "..\..\..\..\InsertNewExam.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.ClearButton_Click);

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\..\..\InsertNewExam.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

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