public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Medical.Apartment.Silverlight.UI;component/Customer/CustomerAdminPage.xaml", System.UriKind.Relative));
     this.scrollViewerCustomers = ((System.Windows.Controls.ScrollViewer)(this.FindName("scrollViewerCustomers")));
     this.uiTitle = ((System.Windows.Controls.TextBlock)(this.FindName("uiTitle")));
     this.uiParamsDisplay = ((System.Windows.Controls.TextBlock)(this.FindName("uiParamsDisplay")));
     this.gridCustomer = ((System.Windows.Controls.Grid)(this.FindName("gridCustomer")));
     this.lblFirstName = ((System.Windows.Controls.TextBlock)(this.FindName("lblFirstName")));
     this.txtFirstName = ((System.Windows.Controls.TextBox)(this.FindName("txtFirstName")));
     this.lblLastName = ((System.Windows.Controls.TextBlock)(this.FindName("lblLastName")));
     this.txtLastName = ((System.Windows.Controls.TextBox)(this.FindName("txtLastName")));
     this.chkHasContract = ((System.Windows.Controls.CheckBox)(this.FindName("chkHasContract")));
     this.panelHasContract = ((System.Windows.Controls.StackPanel)(this.FindName("panelHasContract")));
     this.ucSitePicker = ((Medical.Apartment.Silverlight.UI.SitePicker)(this.FindName("ucSitePicker")));
     this.lblFromDate = ((System.Windows.Controls.TextBlock)(this.FindName("lblFromDate")));
     this.uiDateFrom = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("uiDateFrom")));
     this.lblToDate = ((System.Windows.Controls.TextBlock)(this.FindName("lblToDate")));
     this.uiDateTo = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("uiDateTo")));
     this.chkShowInactive = ((System.Windows.Controls.CheckBox)(this.FindName("chkShowInactive")));
     this.btnSearch = ((System.Windows.Controls.Button)(this.FindName("btnSearch")));
     this.gvwCustomers = ((Telerik.Windows.Controls.RadGridView)(this.FindName("gvwCustomers")));
     this.ucCntactInfoPanel = ((Medical.Apartment.Silverlight.UI.ContactInformationPanel)(this.FindName("ucCntactInfoPanel")));
     this.btnSaveCustomer = ((Medical.Apartment.Silverlight.UI.SingleClickButton)(this.FindName("btnSaveCustomer")));
     this.btnCancelCustomer = ((System.Windows.Controls.Button)(this.FindName("btnCancelCustomer")));
     this.gridDetails = ((System.Windows.Controls.Grid)(this.FindName("gridDetails")));
     this.ucTreatmentAdmin = ((Medical.Apartment.Silverlight.UI.TreatmentAdmin)(this.FindName("ucTreatmentAdmin")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Medical.Apartment.Silverlight.UI;component/Customer/TreatmentAdminPage.xaml", System.UriKind.Relative));
     this.scrollViewerCustomers = ((System.Windows.Controls.ScrollViewer)(this.FindName("scrollViewerCustomers")));
     this.uiTitle = ((System.Windows.Controls.TextBlock)(this.FindName("uiTitle")));
     this.uiParamsDisplay = ((System.Windows.Controls.TextBlock)(this.FindName("uiParamsDisplay")));
     this.gridTreatment = ((System.Windows.Controls.Grid)(this.FindName("gridTreatment")));
     this.panelHasContract = ((System.Windows.Controls.StackPanel)(this.FindName("panelHasContract")));
     this.lblSite = ((System.Windows.Controls.TextBlock)(this.FindName("lblSite")));
     this.ucSitePicker = ((Medical.Apartment.Silverlight.UI.SitePicker)(this.FindName("ucSitePicker")));
     this.lblFromDate = ((System.Windows.Controls.TextBlock)(this.FindName("lblFromDate")));
     this.uiDateFrom = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("uiDateFrom")));
     this.lblToDate = ((System.Windows.Controls.TextBlock)(this.FindName("lblToDate")));
     this.uiDateTo = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("uiDateTo")));
     this.btnSearch = ((System.Windows.Controls.Button)(this.FindName("btnSearch")));
     this.ucTreatmentAdmin = ((Medical.Apartment.Silverlight.UI.TreatmentAdmin)(this.FindName("ucTreatmentAdmin")));
 }