Example #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TelerikSilverlightApp1;component/Calendrier.xaml", System.UriKind.Relative));
     this.calendar = ((Telerik.Windows.Controls.RadCalendar)(this.FindName("calendar")));
     this.back     = ((System.Windows.Controls.Button)(this.FindName("back")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Medical.Apartment.Silverlight.UI;component/Sales/CustomerDetails.xaml", System.UriKind.Relative));
     this.scrollViewerCustomerDetails = ((System.Windows.Controls.ScrollViewer)(this.FindName("scrollViewerCustomerDetails")));
     this.uiLayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("uiLayoutRoot")));
     this.lblCustomerTitle = ((System.Windows.Controls.TextBlock)(this.FindName("lblCustomerTitle")));
     this.panelCustomer = ((System.Windows.Controls.ContentControl)(this.FindName("panelCustomer")));
     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.lblDoB = ((System.Windows.Controls.TextBlock)(this.FindName("lblDoB")));
     this.uiAge = ((Telerik.Windows.Controls.RadCalendar)(this.FindName("uiAge")));
     this.lblGender = ((System.Windows.Controls.TextBlock)(this.FindName("lblGender")));
     this.radMale = ((System.Windows.Controls.RadioButton)(this.FindName("radMale")));
     this.radFemale = ((System.Windows.Controls.RadioButton)(this.FindName("radFemale")));
     this.ucCntactInfoPanel = ((Medical.Apartment.Silverlight.UI.ContactInformationPanel)(this.FindName("ucCntactInfoPanel")));
     this.gridOKCancel = ((System.Windows.Controls.Grid)(this.FindName("gridOKCancel")));
     this.btnOK = ((Medical.Apartment.Silverlight.UI.SingleClickButton)(this.FindName("btnOK")));
     this.btnCancel = ((Medical.Apartment.Silverlight.UI.SingleClickButton)(this.FindName("btnCancel")));
 }