Пример #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")));
 }
Пример #2
0
 private void listBlog_Loaded(object sender, RoutedEventArgs e)
 {
     listBlog = sender as ucRssList;
     listBlog.Refresh(AppManager.AppHomePage + urlBlog);
 }
Пример #3
0
 private void listNews_Loaded(object sender, RoutedEventArgs e)
 {
     listNews = sender as ucRssList;
     listNews.Refresh(AppManager.AppHomePage + urlNews);
 }