Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.waveFormRenderer = ((VoiceRecorder.Core.WaveFormVisual)(target));
                return;

            case 2:
                this.rangeSelection = ((VoiceRecorder.Core.RangeSelectionControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.waveFormRenderer = ((VoiceRecorder.Core.WaveFormVisual)(target));
     return;
     case 2:
     this.rangeSelection = ((VoiceRecorder.Core.RangeSelectionControl)(target));
     return;
     }
     this._contentLoaded = true;
 }