예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 2:
                this.File = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.FileItemSelectOptions = ((System.Windows.Controls.MenuItem)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.FileItemSelectOptions.Click += new System.Windows.RoutedEventHandler(this.FileItemSelectOptions_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.FileItemLoadFile = ((System.Windows.Controls.MenuItem)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.FileItemLoadFile.Click += new System.Windows.RoutedEventHandler(this.buttonLoadTileData_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.FileItemSaveFile = ((System.Windows.Controls.MenuItem)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.FileItemSaveFile.Click += new System.Windows.RoutedEventHandler(this.buttonSaveTileData_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.FileSelectScriptFolder = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 8:
                this.TabItemDataViewer = ((System.Windows.Controls.TabItem)(target));
                return;

            case 9:
                this.SuperGridTiles = ((XenToolsGui.TileViewer.Types.SuperGridTree)(target));
                return;

            case 10:
                this.SuperGridLosedTiles = ((XenToolsGui.TileViewer.Types.SuperGridTree)(target));
                return;

            case 11:
                this.dockPanel2 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 12:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.buttonWallsRight = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\MainWindow.xaml"
                this.buttonWallsRight.Click += new System.Windows.RoutedEventHandler(this.buttonWallsRight_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.ButtonRoofsRight = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.ButtonRoofsRight.Click += new System.Windows.RoutedEventHandler(this.ButtonRoofsRight_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.buttonFloatsRight = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\..\MainWindow.xaml"
                this.buttonFloatsRight.Click += new System.Windows.RoutedEventHandler(this.buttonFloatsRight_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.buttonMiscRight = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\..\MainWindow.xaml"
                this.buttonMiscRight.Click += new System.Windows.RoutedEventHandler(this.buttonMiscRight_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.button6 = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\MainWindow.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.dockPanel3 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 19:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.ButtonWallLeft = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\MainWindow.xaml"
                this.ButtonWallLeft.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.buttonRoofLeft = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\MainWindow.xaml"
                this.buttonRoofLeft.Click += new System.Windows.RoutedEventHandler(this.buttonRoof_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.ButtonFloatsLeft = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\MainWindow.xaml"
                this.ButtonFloatsLeft.Click += new System.Windows.RoutedEventHandler(this.ButtonFloats_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.buttonMiscLeft = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\..\MainWindow.xaml"
                this.buttonMiscLeft.Click += new System.Windows.RoutedEventHandler(this.buttonMisc_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.buttonTokenLeft = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\MainWindow.xaml"
                this.buttonTokenLeft.Click += new System.Windows.RoutedEventHandler(this.buttonTokenLeft_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.dataGridTmpStyles = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 26:
                this.dataGridTmpTiles = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 27:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 28:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.AddTileTmpClick);

            #line default
            #line hidden
                return;

            case 29:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ButtonAddTiles = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\..\MainWindow.xaml"
                this.ButtonAddTiles.Click += new System.Windows.RoutedEventHandler(this.AddTiles_Click_1);

            #line default
            #line hidden
                return;

            case 31:
                this.ButtonAddStyles = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\..\MainWindow.xaml"
                this.ButtonAddStyles.Click += new System.Windows.RoutedEventHandler(this.ButtonAddStyles_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.TabItemMapMaking = ((System.Windows.Controls.TabItem)(target));
                return;

            case 33:
                this.TabControlMakeMapData = ((System.Windows.Controls.TabControl)(target));
                return;

            case 34:
                this.TabItemColorArea = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.DocPanelDataGridAreaColor = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 36:
                this.ButtonLoadScript = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\..\MainWindow.xaml"
                this.ButtonLoadScript.Click += new System.Windows.RoutedEventHandler(this.ButtonLoadScript_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.ButtonSaveScript = ((System.Windows.Controls.Button)(target));
                return;

            case 38:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 39:
                this.button5 = ((System.Windows.Controls.Button)(target));
                return;

            case 40:
                this.button7 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.menu = ((System.Windows.Controls.Menu)(target));
     return;
     case 2:
     this.File = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 3:
     this.FileItemSelectOptions = ((System.Windows.Controls.MenuItem)(target));
     
     #line 16 "..\..\..\MainWindow.xaml"
     this.FileItemSelectOptions.Click += new System.Windows.RoutedEventHandler(this.FileItemSelectOptions_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.FileItemLoadFile = ((System.Windows.Controls.MenuItem)(target));
     
     #line 17 "..\..\..\MainWindow.xaml"
     this.FileItemLoadFile.Click += new System.Windows.RoutedEventHandler(this.buttonLoadTileData_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.FileItemSaveFile = ((System.Windows.Controls.MenuItem)(target));
     
     #line 18 "..\..\..\MainWindow.xaml"
     this.FileItemSaveFile.Click += new System.Windows.RoutedEventHandler(this.buttonSaveTileData_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.FileSelectScriptFolder = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 7:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 8:
     this.TabItemDataViewer = ((System.Windows.Controls.TabItem)(target));
     return;
     case 9:
     this.SuperGridTiles = ((XenToolsGui.TileViewer.Types.SuperGridTree)(target));
     return;
     case 10:
     this.SuperGridLosedTiles = ((XenToolsGui.TileViewer.Types.SuperGridTree)(target));
     return;
     case 11:
     this.dockPanel2 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 12:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.buttonWallsRight = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.buttonWallsRight.Click += new System.Windows.RoutedEventHandler(this.buttonWallsRight_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.ButtonRoofsRight = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\MainWindow.xaml"
     this.ButtonRoofsRight.Click += new System.Windows.RoutedEventHandler(this.ButtonRoofsRight_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.buttonFloatsRight = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\..\MainWindow.xaml"
     this.buttonFloatsRight.Click += new System.Windows.RoutedEventHandler(this.buttonFloatsRight_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.buttonMiscRight = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\MainWindow.xaml"
     this.buttonMiscRight.Click += new System.Windows.RoutedEventHandler(this.buttonMiscRight_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.button6 = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\..\MainWindow.xaml"
     this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.dockPanel3 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 19:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.ButtonWallLeft = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\..\MainWindow.xaml"
     this.ButtonWallLeft.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.buttonRoofLeft = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\..\MainWindow.xaml"
     this.buttonRoofLeft.Click += new System.Windows.RoutedEventHandler(this.buttonRoof_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.ButtonFloatsLeft = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\..\MainWindow.xaml"
     this.ButtonFloatsLeft.Click += new System.Windows.RoutedEventHandler(this.ButtonFloats_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.buttonMiscLeft = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\..\MainWindow.xaml"
     this.buttonMiscLeft.Click += new System.Windows.RoutedEventHandler(this.buttonMisc_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.buttonTokenLeft = ((System.Windows.Controls.Button)(target));
     
     #line 57 "..\..\..\MainWindow.xaml"
     this.buttonTokenLeft.Click += new System.Windows.RoutedEventHandler(this.buttonTokenLeft_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.dataGridTmpStyles = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 26:
     this.dataGridTmpTiles = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 27:
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 28:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 80 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.AddTileTmpClick);
     
     #line default
     #line hidden
     return;
     case 29:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 81 "..\..\..\MainWindow.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.ButtonAddTiles = ((System.Windows.Controls.Button)(target));
     
     #line 82 "..\..\..\MainWindow.xaml"
     this.ButtonAddTiles.Click += new System.Windows.RoutedEventHandler(this.AddTiles_Click_1);
     
     #line default
     #line hidden
     return;
     case 31:
     this.ButtonAddStyles = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\..\MainWindow.xaml"
     this.ButtonAddStyles.Click += new System.Windows.RoutedEventHandler(this.ButtonAddStyles_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.TabItemMapMaking = ((System.Windows.Controls.TabItem)(target));
     return;
     case 33:
     this.TabControlMakeMapData = ((System.Windows.Controls.TabControl)(target));
     return;
     case 34:
     this.TabItemColorArea = ((System.Windows.Controls.TabItem)(target));
     return;
     case 35:
     this.DocPanelDataGridAreaColor = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 36:
     this.ButtonLoadScript = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\..\MainWindow.xaml"
     this.ButtonLoadScript.Click += new System.Windows.RoutedEventHandler(this.ButtonLoadScript_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.ButtonSaveScript = ((System.Windows.Controls.Button)(target));
     return;
     case 38:
     this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 39:
     this.button5 = ((System.Windows.Controls.Button)(target));
     return;
     case 40:
     this.button7 = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }