Example #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EcosCab;component/RSSPage.xaml", System.UriKind.Relative));
     this.listNews = ((EcosCab.Controls.ucRssList)(this.FindName("listNews")));
     this.listBlog = ((EcosCab.Controls.ucRssList)(this.FindName("listBlog")));
 }
 private void listBlog_Loaded(object sender, RoutedEventArgs e)
 {
     listBlog = sender as ucRssList;
     listBlog.Refresh(AppManager.AppHomePage + urlBlog);
 }
 private void listNews_Loaded(object sender, RoutedEventArgs e)
 {
     listNews = sender as ucRssList;
     listNews.Refresh(AppManager.AppHomePage + urlNews);
 }