コード例 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EmonMonitor;component/ConfigPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.FeedsActiveViewOnPage = ((EmonMonitor.View.FeedsActiveView)(this.FindName("FeedsActiveViewOnPage")));
     this.ConfigApiViewOnPage = ((EmonMonitor.View.ConfigApiView)(this.FindName("ConfigApiViewOnPage")));
     this.ConfigFeedViewOnPage = ((EmonMonitor.View.ConfigFeedView)(this.FindName("ConfigFeedViewOnPage")));
 }
コード例 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EmonMonitor;component/ConfigPage.xaml", System.UriKind.Relative));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.FeedsActiveViewOnPage = ((EmonMonitor.View.FeedsActiveView)(this.FindName("FeedsActiveViewOnPage")));
     this.ConfigApiViewOnPage   = ((EmonMonitor.View.ConfigApiView)(this.FindName("ConfigApiViewOnPage")));
     this.ConfigFeedViewOnPage  = ((EmonMonitor.View.ConfigFeedView)(this.FindName("ConfigFeedViewOnPage")));
 }