void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._graphSystem = ((Microsoft.Tts.UI.Controls.Trajectory.SingleTrajectoryGraph)(target));
     return;
     case 2:
     this._frameline = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryFrameline)(target));
     return;
     case 3:
     this._hightlighFrames = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryHighlightFrame)(target));
     return;
     case 4:
     this._meanGraph = ((Microsoft.Tts.UI.Controls.Trajectory.IntervalConstantGraph)(target));
     return;
     case 5:
     this._auxiliaryParameterGraph = ((Microsoft.Tts.UI.Controls.Trajectory.IntervalLinerGraph)(target));
     return;
     case 6:
     this._parameterGraph = ((Microsoft.Tts.UI.Controls.Trajectory.IntervalLinerGraph)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\..\..\Controls\Acoustic\GainEditor.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSelectFramesMenuItemClick);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 13 "..\..\..\..\Controls\Acoustic\GainEditor.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetTuneMenuItemClick);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 14 "..\..\..\..\Controls\Acoustic\GainEditor.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnDragSelectedMenuItemClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this._grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this._highlightFrames = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryHighlightFrame)(target));
     return;
     case 6:
     this._guidelineGraph = ((Microsoft.Tts.UI.Controls.Trajectory.IntervalLinerGraph)(target));
     return;
     case 7:
     this._gridRect = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 32 "..\..\..\..\Controls\Acoustic\GainEditor.xaml"
     this._gridRect.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);
     
     #line default
     #line hidden
     
     #line 32 "..\..\..\..\Controls\Acoustic\GainEditor.xaml"
     this._gridRect.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 32 "..\..\..\..\Controls\Acoustic\GainEditor.xaml"
     this._gridRect.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 8:
     this._linerGraph = ((Microsoft.Tts.UI.Controls.Trajectory.IntervalLinerGraph)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._graphSystem = ((Microsoft.Tts.UI.Controls.Trajectory.MultiTrajectoryGraph)(target));
     return;
     case 2:
     this._frameline = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryFrameline)(target));
     return;
     case 3:
     this._trajectoryGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this._hightlighFrames = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryHighlightFrame)(target));
     return;
     case 5:
     this._selectedMultiFrames = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryHighlightFrame)(target));
     return;
     case 6:
     this._selectedFrames = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryHighlightFrame)(target));
     return;
     case 7:
     
     #line 37 "..\..\..\..\Controls\Trajectory\MultiTrajectoryGraph.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMoveInGraph);
     
     #line default
     #line hidden
     
     #line 38 "..\..\..\..\Controls\Trajectory\MultiTrajectoryGraph.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnMouseLeaveGraph);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\..\Controls\Trajectory\MultiTrajectoryGraph.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseUpInGraph);
     
     #line default
     #line hidden
     return;
     case 8:
     this._dataPopup = ((System.Windows.Controls.Primitives.Popup)(target));
     return;
     case 9:
     this._trajectoryInfoTable = ((Microsoft.Tts.UI.Controls.Trajectory.TrajectoryInfoUserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }