示例#1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Voz;component/AppPage/SinglePost.xaml", System.UriKind.Relative));
     this.textBlock_PostTime = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_PostTime")));
     this.textBlock_PostCount = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_PostCount")));
     this.image_Ava = ((System.Windows.Controls.Image)(this.FindName("image_Ava")));
     this.textBlock_User = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_User")));
     this.textBlock_JD = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_JD")));
     this.textBlock_Posts = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_Posts")));
     this.textBlock_Location = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_Location")));
     this.htmlViewer = ((MSPToolkit.Controls.HTMLViewer)(this.FindName("htmlViewer")));
 }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Voz;component/AppPage/SinglePost.xaml", System.UriKind.Relative));
     this.textBlock_PostTime  = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_PostTime")));
     this.textBlock_PostCount = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_PostCount")));
     this.image_Ava           = ((System.Windows.Controls.Image)(this.FindName("image_Ava")));
     this.textBlock_User      = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_User")));
     this.textBlock_JD        = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_JD")));
     this.textBlock_Posts     = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_Posts")));
     this.textBlock_Location  = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock_Location")));
     this.htmlViewer          = ((MSPToolkit.Controls.HTMLViewer)(this.FindName("htmlViewer")));
 }