コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\WindowEditor.xaml"
                ((CSL.LevelEditor.WindowEditor)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this._textBlockCoordinates = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this._ScaleText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this._userControlButtons = ((CSL.LevelEditor.UserControlButtons)(target));
                return;

            case 5:
                this._userControlCanvas = ((CSL.LevelEditor.UserControlCanvas)(target));
                return;

            case 6:
                this.buttonClose = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\WindowEditor.xaml"
                this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\WindowEditor.xaml"
     ((CSL.LevelEditor.WindowEditor)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this._textBlockCoordinates = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this._ScaleText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this._userControlButtons = ((CSL.LevelEditor.UserControlButtons)(target));
     return;
     case 5:
     this._userControlCanvas = ((CSL.LevelEditor.UserControlCanvas)(target));
     return;
     case 6:
     this.buttonClose = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\WindowEditor.xaml"
     this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }