コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ok_button = ((System.Windows.Controls.Button)(target));
     
     #line 7 "..\..\..\..\..\Views\Views\GeneticCodes\GeneticCodeCreatorView.xaml"
     this.ok_button.Click += new System.Windows.RoutedEventHandler(this.ok_button_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.basic_genetic_code_info = ((GeneticFaradayApplication.Views.Views.GeneticCodes.GeneticCodeBasicInfoView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.basic_genetic_code_info = ((GeneticFaradayApplication.Views.Views.GeneticCodes.GeneticCodeBasicInfoView)(target));
     return;
     case 2:
     this.nucleotides_tab_item = ((System.Windows.Controls.TabItem)(target));
     return;
     case 3:
     this.codons_tab_item = ((System.Windows.Controls.TabItem)(target));
     return;
     case 4:
     
     #line 31 "..\..\..\..\..\Views\Views\GeneticCodes\GeneticCodeEditorView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NewGeneticCode_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 32 "..\..\..\..\..\Views\Views\GeneticCodes\GeneticCodeEditorView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenGeneticCode_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 34 "..\..\..\..\..\Views\Views\GeneticCodes\GeneticCodeEditorView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveGeneticCode_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 36 "..\..\..\..\..\Views\Views\GeneticCodes\GeneticCodeEditorView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExitGeneticCode_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }