void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ModalDialogParent = ((System.Windows.Controls.Grid)(target)); return; case 2: this.MessageTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.ResultText = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.ShowModalDialog = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\..\..\..\UserControls\test\MainWindow.xaml" this.ShowModalDialog.Click += new System.Windows.RoutedEventHandler(this.ShowModalDialog_Click); #line default #line hidden return; case 5: this.ModalDialog = ((S2Snext.GUI.Dialogs.ModalDialog)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.root = ((S2Snext.GUI.Dialogs.ModalDialog)(target)); return; case 2: this.DialogWin = ((System.Windows.Controls.Border)(target)); return; case 3: this.MessageTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.loader = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.ControlsContainer = ((System.Windows.Controls.StackPanel)(target)); return; } this._contentLoaded = true; }