public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Mercury.Silverlight;component/Controls/EntityContact.xaml", System.UriKind.Relative));
     this.PhoneNumberFormatterConverter = ((Mercury.Client.ValueConverters.PhoneNumberFormatter)(this.FindName("PhoneNumberFormatterConverter")));
     this.EnumerationFormatterConverter = ((Mercury.Client.ValueConverters.EnumerationFormatter)(this.FindName("EnumerationFormatterConverter")));
     this.ValidationMessagePanel        = ((System.Windows.Controls.Border)(this.FindName("ValidationMessagePanel")));
     this.ValidationMessage             = ((System.Windows.Controls.TextBlock)(this.FindName("ValidationMessage")));
     this.EntityContactInformationGrid  = ((Telerik.Windows.Controls.RadGridView)(this.FindName("EntityContactInformationGrid")));
     this.ContactDirectionSelection     = ((Telerik.Windows.Controls.RadComboBox)(this.FindName("ContactDirectionSelection")));
     this.ContactDateTimeLabel          = ((System.Windows.Controls.TextBlock)(this.FindName("ContactDateTimeLabel")));
     this.ContactDateTimePanel          = ((System.Windows.Controls.StackPanel)(this.FindName("ContactDateTimePanel")));
     this.ContactDate = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("ContactDate")));
     this.ContactTime = ((Telerik.Windows.Controls.RadTimePicker)(this.FindName("ContactTime")));
     this.ContactRegardingSelection = ((Telerik.Windows.Controls.RadComboBox)(this.FindName("ContactRegardingSelection")));
     this.ContactIntroductionScript = ((System.Windows.Controls.TextBlock)(this.FindName("ContactIntroductionScript")));
     this.ContactRemarks            = ((System.Windows.Controls.TextBox)(this.FindName("ContactRemarks")));
     this.ContactOutcomeSelection   = ((Telerik.Windows.Controls.RadComboBox)(this.FindName("ContactOutcomeSelection")));
     this.ButtonOk     = ((Telerik.Windows.Controls.RadButton)(this.FindName("ButtonOk")));
     this.ButtonCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("ButtonCancel")));
 }
Exemple #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Mercury.Silverlight;component/Controls/EntitySendCorrespondence.xaml", System.UriKind.Relative));
     this.PhoneNumberFormatterConverter = ((Mercury.Client.ValueConverters.PhoneNumberFormatter)(this.FindName("PhoneNumberFormatterConverter")));
     this.EnumerationFormatterConverter = ((Mercury.Client.ValueConverters.EnumerationFormatter)(this.FindName("EnumerationFormatterConverter")));
     this.LayoutRoot                               = ((System.Windows.Controls.StackPanel)(this.FindName("LayoutRoot")));
     this.ValidationMessagePanel                   = ((System.Windows.Controls.Border)(this.FindName("ValidationMessagePanel")));
     this.ValidationMessage                        = ((System.Windows.Controls.TextBlock)(this.FindName("ValidationMessage")));
     this.EntityName                               = ((System.Windows.Controls.TextBlock)(this.FindName("EntityName")));
     this.EntityAddressGrid                        = ((Telerik.Windows.Controls.RadGridView)(this.FindName("EntityAddressGrid")));
     this.CorrespondenceSelection                  = ((Telerik.Windows.Controls.RadComboBox)(this.FindName("CorrespondenceSelection")));
     this.CorrespondenceSendDateLabel              = ((System.Windows.Controls.TextBlock)(this.FindName("CorrespondenceSendDateLabel")));
     this.CorrespondenceSendDatePanel              = ((System.Windows.Controls.StackPanel)(this.FindName("CorrespondenceSendDatePanel")));
     this.CorrespondenceSendDate                   = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("CorrespondenceSendDate")));
     this.CorrespondenceAttention                  = ((System.Windows.Controls.TextBox)(this.FindName("CorrespondenceAttention")));
     this.CorrespondenceUseAlternativeAddress      = ((System.Windows.Controls.CheckBox)(this.FindName("CorrespondenceUseAlternativeAddress")));
     this.CorrespondenceUseAlternativeAddressLabel = ((System.Windows.Controls.TextBlock)(this.FindName("CorrespondenceUseAlternativeAddressLabel")));
     this.ButtonOk     = ((Telerik.Windows.Controls.RadButton)(this.FindName("ButtonOk")));
     this.ButtonCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("ButtonCancel")));
     this.CorrespondenceAlternateAddressDetail  = ((System.Windows.Controls.Grid)(this.FindName("CorrespondenceAlternateAddressDetail")));
     this.CorrespondenceAlternateAddressLine1   = ((System.Windows.Controls.TextBox)(this.FindName("CorrespondenceAlternateAddressLine1")));
     this.CorrespondenceAlternateAddressLine2   = ((System.Windows.Controls.TextBox)(this.FindName("CorrespondenceAlternateAddressLine2")));
     this.CorrespondenceAlternateAddressCity    = ((System.Windows.Controls.TextBox)(this.FindName("CorrespondenceAlternateAddressCity")));
     this.CorrespondenceAlternateAddressState   = ((Telerik.Windows.Controls.RadComboBox)(this.FindName("CorrespondenceAlternateAddressState")));
     this.CorrespondenceAlternateAddressZipCode = ((System.Windows.Controls.TextBox)(this.FindName("CorrespondenceAlternateAddressZipCode")));
 }