void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 21 "..\..\..\..\Domain\Exam\ExamQsMainWin.xaml" ((MaterialDesignThemes.Wpf.DialogHost)(target)).DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.DialogHost_OnDialogClosing); #line default #line hidden return; case 2: this.TxtLeaveMeg = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.TopLogoImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.CurrentCloseBtn = ((System.Windows.Controls.Button)(target)); return; case 5: this.QsContentPanel = ((System.Windows.Controls.WrapPanel)(target)); return; case 6: this.BtnSkipNext = ((System.Windows.Controls.Button)(target)); return; case 7: this.TxtPlayingTime = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.TxtTotalTime = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.PwFormControl = ((VoiceRecorder.Core.PolygonWaveFormControl)(target)); return; case 10: this.CloseBtn = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
private static void OnSampleAggregatorChanged(object sender, DependencyPropertyChangedEventArgs e) { PolygonWaveFormControl control = (PolygonWaveFormControl)sender; control.Subscribe(); }