コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainPanorama = ((MahApps.Metro.Controls.Panorama)(target));
     return;
     case 2:
     this.panoramaItem1 = ((MahApps.Metro.Controls.PanoramaItem)(target));
     return;
     case 3:
     this.lbRubriquesDocuments = ((System.Windows.Controls.ListBox)(target));
     return;
     case 4:
     this.VisuBrowser = ((ICOMI_SPClient.Controls.WebDocumentLoader)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
ファイル: MenuView.g.i.cs プロジェクト: qlestrelin/icomierp
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainPanorama = ((MahApps.Metro.Controls.Panorama)(target));
     return;
     case 2:
     this.panoramaItem1 = ((MahApps.Metro.Controls.PanoramaItem)(target));
     return;
     case 3:
     this.lbMenus = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }