コード例 #1
0
ファイル: MainPage.g.cs プロジェクト: shenxingfu/HaoTang
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GMS.Web.OrgChart;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.activity = ((GMS.Web.OrgChart.Controls.Activity)(this.FindName("activity")));
 }
コード例 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GMS.Web.OrgChart;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.activity   = ((GMS.Web.OrgChart.Controls.Activity)(this.FindName("activity")));
 }