コード例 #1
0
        private void CalendarView_SelectedDatesChanged(
            XamlCalendarView sender,
            global::Windows.UI.Xaml.Controls.CalendarViewSelectedDatesChangedEventArgs args)
        {
            var selectedDates = args.AddedDates;

            if ((null != selectedDates) && (selectedDates.Count > 0))
            {
                var selectedDate = selectedDates[0];

                ((ICalendarControlDelegate)this.Element).NotifySelectedDateChanged(selectedDate);
            }
        }
コード例 #2
0
        public CalendarControlRenderer(
            CalendarControl calendarControl)
            : base(calendarControl)
        {
            this._calendarView = new XamlCalendarView()
            {
                SelectionMode  = global::Windows.UI.Xaml.Controls.CalendarViewSelectionMode.Single,
                FirstDayOfWeek = global::Windows.Globalization.DayOfWeek.Monday,
            };

            this._calendarView.SelectedDatesChanged += CalendarView_SelectedDatesChanged;
            this.SetNativeElement(this._calendarView);

            var xamlApplicationRenderer = ((ApplicationRenderer)Application.Current.Renderer);

            xamlApplicationRenderer.ApplyThemeTo(this._calendarView);
        }
コード例 #3
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // MainPage.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.CalendarView element2 = (global::Windows.UI.Xaml.Controls.CalendarView)(target);
                ((global::Windows.UI.Xaml.Controls.CalendarView)element2).SelectedDatesChanged += this.MyCalendarView_SelectedDatesChanged;
            }
            break;

            case 3: // MainPage.xaml line 18
            {
                this.MyFlyout = (global::Windows.UI.Xaml.Controls.Flyout)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
            {
                global::Windows.UI.Xaml.Controls.CalendarView element2 = (global::Windows.UI.Xaml.Controls.CalendarView)(target);
                    #line 56 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.CalendarView)element2).CalendarViewDayItemChanging += this.CalUpcomingAppt_CalendarViewDayItemChanging;
                    #line default
            }
            break;

            case 3:
            {
                this.MenuPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 4:
            {
                this.PanelAddAppointment = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 5:
            {
                this.MainPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 6:
            {
                this.Overlay = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 7:
            {
                this.PanelDialog = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 8:
            {
                this.PanelDialog2 = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 9:
            {
                this.TxtDialogMessage2 = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 10:
            {
                this.BtnDialogOK2 = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 913 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDialogOK2).Click += this.BtnDialogOK2_Click;
                    #line default
            }
            break;

            case 11:
            {
                this.BtnDialogCancel2 = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 920 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDialogCancel2).Click += this.BtnDialogCancel2_Click;
                    #line default
            }
            break;

            case 12:
            {
                this.TxtDialogMessage = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 13:
            {
                this.BtnDialogOK = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 886 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDialogOK).Click += this.BtnDialogOK_Click;
                    #line default
            }
            break;

            case 14:
            {
                this.GridTitleAppt = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 15:
            {
                this.ApptTopPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 16:
            {
                this.GridNoApptSelection = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 17:
            {
                this.NextApptPanel = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 18:
            {
                this.BtnNewVisit = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 793 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnNewVisit).Click += this.BtnNewVisit_Click;
                    #line default
            }
            break;

            case 19:
            {
                this.BtnAddPatient = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 804 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnAddPatient).Click += this.BtnAddPatient_Click;
                    #line default
            }
            break;

            case 20:
            {
                this.BtnViewVisit = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 815 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnViewVisit).Click += this.BtnViewVisit_Click;
                    #line default
            }
            break;

            case 21:
            {
                this.BtnModifyAppointment = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 828 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnModifyAppointment).Click += this.BtnModifyAppointment_Click;
                    #line default
            }
            break;

            case 22:
            {
                this.BtnDeleteAppt = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 841 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDeleteAppt).Click += this.BtnDeleteAppt_Click;
                    #line default
            }
            break;

            case 23:
            {
                this.LblNameAndID = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 24:
            {
                this.Div1 = (global::Windows.UI.Xaml.Shapes.Rectangle)(target);
            }
            break;

            case 25:
            {
                this.DatePanel = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 26:
            {
                this.PatientInfoPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 27:
            {
                this.Div2 = (global::Windows.UI.Xaml.Shapes.Rectangle)(target);
            }
            break;

            case 28:
            {
                this.LblContactText = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 29:
            {
                this.LblNoteText = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 30:
            {
                this.LblContact = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 31:
            {
                this.LblNotes = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 32:
            {
                this.LblDate = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 33:
            {
                this.LblTime = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 34:
            {
                this.LblName = (global::Windows.UI.Xaml.Documents.Run)(target);
            }
            break;

            case 35:
            {
                this.LblPatientID = (global::Windows.UI.Xaml.Documents.Run)(target);
            }
            break;

            case 36:
            {
                this.TxtNoSelection = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 37:
            {
                this.CalUpcomingAppt = (global::Windows.UI.Xaml.Controls.CalendarView)(target);
                    #line 563 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.CalendarView) this.CalUpcomingAppt).SelectedDatesChanged += this.CalUpcomingAppt_SelectedDatesChanged;
                    #line 564 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.CalendarView) this.CalUpcomingAppt).CalendarViewDayItemChanging += this.CalUpcomingAppt_CalendarViewDayItemChanging;
                    #line default
            }
            break;

            case 38:
            {
                this.ApptTopLeftPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 39:
            {
                this.BtnNewAppt = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 582 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnNewAppt).Click += this.BtnNewAppt_Click;
                    #line default
            }
            break;

            case 40:
            {
                this.PanelListEmpty = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 41:
            {
                this.PanelAppointmentList = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 42:
            {
                this.ListViewAppointment = (global::Windows.UI.Xaml.Controls.ListView)(target);
                    #line 615 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.ListView) this.ListViewAppointment).ItemClick += this.ListViewAppointment_ItemClick;
                    #line default
            }
            break;

            case 47:
            {
                this.ApptBtnText = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 48:
            {
                this.IconAppts = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 49:
            {
                this.PanelAddApptTitle = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 50:
            {
                this.PanelError = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 51:
            {
                this.TxtErrorMessage = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 52:
            {
                this.BtnErrorClose = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 516 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnErrorClose).Click += this.BtnErrorClose_Click;
                    #line default
            }
            break;

            case 53:
            {
                this.BtnAdd = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 482 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnAdd).Click += this.BtnAdd_Click;
                    #line default
            }
            break;

            case 54:
            {
                this.BtnModify = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 487 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnModify).Click += this.BtnModify_Click;
                    #line default
            }
            break;

            case 55:
            {
                this.BtnCancel = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 493 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnCancel).Click += this.BtnCancel_Click;
                    #line default
            }
            break;

            case 56:
            {
                this.LblAddNote = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 57:
            {
                this.TxtNotes = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 58:
            {
                this.RadioBurn = (global::Windows.UI.Xaml.Controls.RadioButton)(target);
            }
            break;

            case 59:
            {
                this.RadioUlcer = (global::Windows.UI.Xaml.Controls.RadioButton)(target);
            }
            break;

            case 60:
            {
                this.RadioDiabeticFoot = (global::Windows.UI.Xaml.Controls.RadioButton)(target);
            }
            break;

            case 61:
            {
                this.TxtContact = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 62:
            {
                this.TxtSurname = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 63:
            {
                this.TxtName = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 64:
            {
                this.TimePickerAddAppt = (global::Windows.UI.Xaml.Controls.TimePicker)(target);
            }
            break;

            case 65:
            {
                this.DatePickerAddAppt = (global::Windows.UI.Xaml.Controls.CalendarDatePicker)(target);
            }
            break;

            case 66:
            {
                this.TxtID = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 67:
            {
                this.BtnChoosePatient = (global::Windows.UI.Xaml.Controls.Button)(target);
            }
            break;

            case 68:
            {
                this.BtnCancelSelect = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 384 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnCancelSelect).Click += this.BtnCancelSelect_Click;
                    #line default
            }
            break;

            case 69:
            {
                this.PatientListView = (global::Windows.UI.Xaml.Controls.ListView)(target);
                    #line 340 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.ListView) this.PatientListView).ItemClick += this.PatientListView_ItemClick;
                    #line default
            }
            break;

            case 74:
            {
                this.LblAddModifyTitle = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 75:
            {
                this.GridLogo = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 76:
            {
                this.DivLogo = (global::Windows.UI.Xaml.Shapes.Rectangle)(target);
            }
            break;

            case 77:
            {
                this.LblDashTitle = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 78:
            {
                this.NavPanel = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 79:
            {
                this.NavLogout = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 262 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavLogout).Click += this.NavLogout_Click;
                    #line default
            }
            break;

            case 80:
            {
                this.LogoutIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 81:
            {
                this.NavPatients = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 181 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavPatients).Click += this.NavPatients_Click;
                    #line default
            }
            break;

            case 82:
            {
                this.NavStaff = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 191 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavStaff).Click += this.NavStaff_Click;
                    #line default
            }
            break;

            case 83:
            {
                this.NavStock = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 200 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavStock).Click += this.NavStock_Click;
                    #line default
            }
            break;

            case 84:
            {
                this.NavPriceLists = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 209 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavPriceLists).Click += this.NavPriceLists_Click;
                    #line default
            }
            break;

            case 85:
            {
                this.NavServices = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 218 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavServices).Click += this.NavServices_Click;
                    #line default
            }
            break;

            case 86:
            {
                this.NavContacts = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 227 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavContacts).Click += this.NavContacts_Click;
                    #line default
            }
            break;

            case 87:
            {
                this.NavFinances = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 238 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavFinances).Click += this.NavFinances_Click;
                    #line default
            }
            break;

            case 88:
            {
                this.NavForms = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 247 "..\..\..\Dashboard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavForms).Click += this.NavForms_Click;
                    #line default
            }
            break;

            case 89:
            {
                this.FormsIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 90:
            {
                this.FinancesIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 91:
            {
                this.ContactsIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 92:
            {
                this.ServicesIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 93:
            {
                this.PriceListsIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 94:
            {
                this.StockIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 95:
            {
                this.StaffIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 96:
            {
                this.PatientIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 97:
            {
                this.logo = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
            {
                global::Windows.UI.Xaml.Controls.CalendarView element2 = (global::Windows.UI.Xaml.Controls.CalendarView)(target);
                    #line 55 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.CalendarView)element2).CalendarViewDayItemChanging += this.CalendarView_CalendarViewDayItemChanging;
                    #line default
            }
            break;

            case 3:
            {
                this.MainSplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 4:
            {
                this.BtnCloseNav = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 148 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnCloseNav).Click += this.BtnToggleNav_Click;
                    #line default
            }
            break;

            case 5:
            {
                this.GridLogo = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 6:
            {
                this.NavPanel = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 7:
            {
                this.NavLogout = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 251 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavLogout).Click += this.NavLogout_Click;
                    #line default
            }
            break;

            case 8:
            {
                this.LogoutIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 9:
            {
                this.NavPatients = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 172 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavPatients).Click += this.NavPatients_Click;
                    #line default
            }
            break;

            case 10:
            {
                this.NavStaff = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 183 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavStaff).Click += this.NavStaff_Click;
                    #line default
            }
            break;

            case 11:
            {
                this.NavStock = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 192 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavStock).Click += this.NavStock_Click;
                    #line default
            }
            break;

            case 12:
            {
                this.NavPriceLists = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 201 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavPriceLists).Click += this.NavPriceLists_Click;
                    #line default
            }
            break;

            case 13:
            {
                this.NavServices = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 210 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavServices).Click += this.NavServices_Click;
                    #line default
            }
            break;

            case 14:
            {
                this.NavContacts = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 219 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavContacts).Click += this.NavContacts_Click;
                    #line default
            }
            break;

            case 15:
            {
                this.NavFinances = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 230 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavFinances).Click += this.NavFinances_Click;
                    #line default
            }
            break;

            case 16:
            {
                this.NavForms = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 239 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.NavForms).Click += this.NavForms_Click;
                    #line default
            }
            break;

            case 17:
            {
                this.FormsIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 18:
            {
                this.FinancesIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 19:
            {
                this.ContactsIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 20:
            {
                this.ServicesIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 21:
            {
                this.PriceListsIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 22:
            {
                this.StockIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 23:
            {
                this.StaffIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 24:
            {
                this.PatientIcon = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 25:
            {
                this.logo = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 26:
            {
                this.GridTitle = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 27:
            {
                this.MainPanel = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 28:
            {
                this.ListPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 29:
            {
                this.DetailsPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 30:
            {
                this.AddPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 31:
            {
                this.NoSelectionPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 32:
            {
                this.VisitListPanel = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 33:
            {
                this.Overlay = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 34:
            {
                this.PanelDialog = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 35:
            {
                this.PanelDialog2 = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 36:
            {
                this.TxtDialogMessage2 = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 37:
            {
                this.BtnDialogOK2 = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 888 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDialogOK2).Click += this.BtnDialogOK2_Click;
                    #line default
            }
            break;

            case 38:
            {
                this.BtnDialogCancel2 = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 895 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDialogCancel2).Click += this.BtnDialogCancel2_Click;
                    #line default
            }
            break;

            case 39:
            {
                this.TxtDialogMessage = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 40:
            {
                this.BtnDialogOK = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 861 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnDialogOK).Click += this.BtnDialogOK_Click;
                    #line default
            }
            break;

            case 41:
            {
                this.BtnCloseVisitList = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 756 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnCloseVisitList).Click += this.BtnCloseVisitList_Click;
                    #line default
            }
            break;

            case 42:
            {
                this.TxtSelectionLabel = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 43:
            {
                this.ListViewVisits = (global::Windows.UI.Xaml.Controls.ListView)(target);
                    #line 771 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.ListView) this.ListViewVisits).ItemClick += this.ListViewVisits_ItemClick;
                    #line default
            }
            break;

            case 48:
            {
                this.TxtNoSelection = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 49:
            {
                this.PanelAddButtons = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 50:
            {
                this.PanelError = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 51:
            {
                this.TxtErrorMessage = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 52:
            {
                this.BtnErrorClose = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 722 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnErrorClose).Click += this.BtnErrorClose_Click;
                    #line default
            }
            break;

            case 53:
            {
                this.BtnAdd = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 691 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnAdd).Click += this.BtnAdd_Click;
                    #line default
            }
            break;

            case 54:
            {
                this.BtnModifyPatient = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 696 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnModifyPatient).Click += this.BtnModifyPatient_Click;
                    #line default
            }
            break;

            case 55:
            {
                this.BtnAddModifyCancel = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 702 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnAddModifyCancel).Click += this.BtnCancelAddPatient_Click;
                    #line default
            }
            break;

            case 56:
            {
                this.TxtPatientAddress = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 57:
            {
                this.TxtPatientEmail = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 58:
            {
                this.TxtPatientOccupation = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 59:
            {
                this.PanelSex = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 60:
            {
                this.TxtPatientContact = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 61:
            {
                this.TxtPatientSex = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 62:
            {
                this.RadioSexM = (global::Windows.UI.Xaml.Controls.RadioButton)(target);
            }
            break;

            case 63:
            {
                this.RadioSexF = (global::Windows.UI.Xaml.Controls.RadioButton)(target);
            }
            break;

            case 64:
            {
                this.DpPatientDOB = (global::Windows.UI.Xaml.Controls.CalendarDatePicker)(target);
            }
            break;

            case 65:
            {
                this.TxtPatientSurname = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 66:
            {
                this.TxtPatientName = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 67:
            {
                this.CmbTitle = (global::Windows.UI.Xaml.Controls.ComboBox)(target);
            }
            break;

            case 68:
            {
                this.PanelName = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 69:
            {
                this.PanelID = (global::Windows.UI.Xaml.Controls.StackPanel)(target);
            }
            break;

            case 70:
            {
                this.Div2 = (global::Windows.UI.Xaml.Shapes.Rectangle)(target);
            }
            break;

            case 71:
            {
                this.PanelButtons = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 72:
            {
                this.BtnArchive = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 538 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnArchive).Click += this.BtnArchive_Click;
                    #line default
            }
            break;

            case 73:
            {
                this.BtnModify = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 553 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnModify).Click += this.BtnModify_Click;
                    #line default
            }
            break;

            case 74:
            {
                this.BtnViewVisits = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 567 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnViewVisits).Click += this.BtnViewVisits_Click;
                    #line default
            }
            break;

            case 75:
            {
                this.LblDOB = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 76:
            {
                this.LblSex = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 77:
            {
                this.LblPatientAddress = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 78:
            {
                this.LblPatientContact = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 79:
            {
                this.LblPatientEmail = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 80:
            {
                this.LblPatientOccupation = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 81:
            {
                this.LblIDLabel = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 82:
            {
                this.LblPatientID = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 83:
            {
                this.LblPatientTitle = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 84:
            {
                this.LblPatientName = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 85:
            {
                this.PanelSearch = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 86:
            {
                this.ListViewPatient = (global::Windows.UI.Xaml.Controls.ListView)(target);
                    #line 352 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.ListView) this.ListViewPatient).ItemClick += this.ListViewPatient_ItemClick;
                    #line default
            }
            break;

            case 87:
            {
                this.BtnViewArchived = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 411 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnViewArchived).Click += this.BtnViewArchived_Click;
                    #line default
            }
            break;

            case 88:
            {
                this.PanelNoResult = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 89:
            {
                this.BtnArchiveLabel = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 94:
            {
                this.BtnAddPatient = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 325 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnAddPatient).Click += this.BtnAddPatient_Click;
                    #line default
            }
            break;

            case 95:
            {
                this.TxtSearch = (global::Windows.UI.Xaml.Controls.TextBox)(target);
                    #line 340 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.TextBox) this.TxtSearch).TextChanged += this.TxtSearch_TextChanged;
                    #line default
            }
            break;

            case 96:
            {
                this.BtnOpenNav = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 283 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnOpenNav).Click += this.BtnToggleNav_Click;
                    #line default
            }
            break;

            case 97:
            {
                this.BtnCancelPatientDetails = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 289 "..\..\..\PatientPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.BtnCancelPatientDetails).Click += this.BtnCancelPatientDetails_Click;
                    #line default
            }
            break;

            case 98:
            {
                this.IconAppts = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 99:
            {
                this.LblMainTitle = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }