void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((SimpleTestCreator.SingleChoiceAnswerWindow)(target)); #line 9 "..\..\..\..\OLD\SingleChoiceQuestion\SingleChoiceAnswerWindow.xaml" this.Window.Closing += new System.ComponentModel.CancelEventHandler(this.OnWindowClosing); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.StackPanel)(target)); return; case 3: this.SaveButton = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\..\OLD\SingleChoiceQuestion\SingleChoiceAnswerWindow.xaml" this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_OnClick); #line default #line hidden return; case 4: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\..\..\OLD\SingleChoiceQuestion\SingleChoiceAnswerWindow.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_OnClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((SimpleTestCreator.SingleChoiceAnswerWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.StackPanel)(target)); return; } this._contentLoaded = true; }