Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((MapEditor.NewDialogEvent)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.tbDialog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\Events\NewDialogEvent.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\Events\NewDialogEvent.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((MapEditor.NewDialogEvent)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tbDialog = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\Events\NewDialogEvent.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\Events\NewDialogEvent.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }