Пример #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HFR7;component/AnswerTopic.xaml", System.UriKind.Relative));
     this.AnswerTopicPage      = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("AnswerTopicPage")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.backgroundImageBrush = ((System.Windows.Media.ImageBrush)(this.FindName("backgroundImageBrush")));
     this.progressBar          = ((Microsoft.Phone.Controls.PerformanceProgressBar)(this.FindName("progressBar")));
     this.globalTextblock      = ((System.Windows.Controls.TextBlock)(this.FindName("globalTextblock")));
     this.TitlePanel           = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle            = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel         = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.answerScrollViewer   = ((System.Windows.Controls.ScrollViewer)(this.FindName("answerScrollViewer")));
     this.showQuoteButton      = ((System.Windows.Controls.Button)(this.FindName("showQuoteButton")));
     this.answerTextBox        = ((System.Windows.Controls.TextBox)(this.FindName("answerTextBox")));
     this.policeCanvas         = ((System.Windows.Controls.Canvas)(this.FindName("policeCanvas")));
     this.boldButton           = ((Jayway.Controls.RoundButton)(this.FindName("boldButton")));
     this.italicsButton        = ((Jayway.Controls.RoundButton)(this.FindName("italicsButton")));
     this.underlineButton      = ((Jayway.Controls.RoundButton)(this.FindName("underlineButton")));
     this.spoilerButton        = ((Jayway.Controls.RoundButton)(this.FindName("spoilerButton")));
     this.urlButton            = ((Jayway.Controls.RoundButton)(this.FindName("urlButton")));
     this.imgButton            = ((Jayway.Controls.RoundButton)(this.FindName("imgButton")));
     this.citButton            = ((Jayway.Controls.RoundButton)(this.FindName("citButton")));
     this.sendButton           = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("sendButton")));
     this.policeButton         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("policeButton")));
     this.hfrrehostButton      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("hfrrehostButton")));
     this.smileyButton         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("smileyButton")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HFR7;component/HFRrehost.xaml", System.UriKind.Relative));
     this.HFRrehostPage            = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("HFRrehostPage")));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.backgroundImageBrush     = ((System.Windows.Media.ImageBrush)(this.FindName("backgroundImageBrush")));
     this.TitlePanel               = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle                = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel             = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.choosePhotoStackPanel    = ((System.Windows.Controls.StackPanel)(this.FindName("choosePhotoStackPanel")));
     this.choosePicButton          = ((System.Windows.Controls.Button)(this.FindName("choosePicButton")));
     this.takePicButton            = ((System.Windows.Controls.Button)(this.FindName("takePicButton")));
     this.waitStackPanel           = ((System.Windows.Controls.StackPanel)(this.FindName("waitStackPanel")));
     this.messageWaitTextBlock     = ((System.Windows.Controls.TextBlock)(this.FindName("messageWaitTextBlock")));
     this.copyUrlStackPanel        = ((System.Windows.Controls.StackPanel)(this.FindName("copyUrlStackPanel")));
     this.reelleSansLienTextBox    = ((System.Windows.Controls.TextBox)(this.FindName("reelleSansLienTextBox")));
     this.reelleSansLienButton     = ((Jayway.Controls.RoundButton)(this.FindName("reelleSansLienButton")));
     this.previewAvecLienTextBox   = ((System.Windows.Controls.TextBox)(this.FindName("previewAvecLienTextBox")));
     this.previewAvecLienButton    = ((Jayway.Controls.RoundButton)(this.FindName("previewAvecLienButton")));
     this.miniatureAvecLienTextBox = ((System.Windows.Controls.TextBox)(this.FindName("miniatureAvecLienTextBox")));
     this.miniatureAvecLienButton  = ((Jayway.Controls.RoundButton)(this.FindName("miniatureAvecLienButton")));
     this.urlTextBox               = ((System.Windows.Controls.TextBox)(this.FindName("urlTextBox")));
     this.urlButton                = ((Jayway.Controls.RoundButton)(this.FindName("urlButton")));
 }
Пример #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HFR7;component/SmileyPage.xaml", System.UriKind.Relative));
     this.WikiSmileyPage       = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("WikiSmileyPage")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.backgroundImageBrush = ((System.Windows.Media.ImageBrush)(this.FindName("backgroundImageBrush")));
     this.TitlePanel           = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle            = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.globalProgressBar    = ((Microsoft.Phone.Controls.PerformanceProgressBar)(this.FindName("globalProgressBar")));
     this.ContentPanel         = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.smileyButton         = ((System.Windows.Controls.Button)(this.FindName("smileyButton")));
     this.keywordTextBox       = ((System.Windows.Controls.TextBox)(this.FindName("keywordTextBox")));
     this.searchButton         = ((Jayway.Controls.RoundButton)(this.FindName("searchButton")));
     this.smileyWB             = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("smileyWB")));
 }