コード例 #1
0
 public void SetDataContext(VisualDurations durations)
 {
     _uiElemHanldersStub.InstallUnInstallRenderHandler(durations, _durations);
     DataContext = durations;
     _durations = durations;
     durations.Durations.CollectionChanged += OnDurationsCollectionChanged;
     durations.Durations.TransactionChangeHandler += OnDurationsTransactionChanged;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VisualAcousticSpace"/> class.
 /// </summary>
 public VisualAcousticSpace()
 {
     F0 = new VisualF0();
     Gain = new VisualGain();
     Durations = new VisualDurations();
     WaveForm = new VisualWaveForm();
     WordSegments = new Collection<VisualSegment>();
     PhoneSegments = new Collection<VisualSegment>();
     LinkTimeAxis(F0.TimeAxis);
 }