Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.KHMPToolsWindow = ((WPFTools.Editor)(target));
     return;
     case 2:
     this.EditorTabs = ((System.Windows.Controls.TabControl)(target));
     return;
     case 3:
     this.GameFiles = ((System.Windows.Controls.TabItem)(target));
     return;
     case 4:
     this.GameFilesTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.EnemyDBFile = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.BrowseForEnemyXML = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\Editor.xaml"
     this.BrowseForEnemyXML.Click += new System.Windows.RoutedEventHandler(this.BrowseForEnemyXML_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.ItemsDBFile = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.BrowseForItemsXML = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\Editor.xaml"
     this.BrowseForItemsXML.Click += new System.Windows.RoutedEventHandler(this.BrowseForItemsXML_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.LoadDefaults = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\Editor.xaml"
     this.LoadDefaults.Click += new System.Windows.RoutedEventHandler(this.LoadDefaults_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.PlayerEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 13:
     this.SaveEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 14:
     this.EnemyEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 15:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.AddNewEnemyButton = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\Editor.xaml"
     this.AddNewEnemyButton.Click += new System.Windows.RoutedEventHandler(this.AddNewEnemyButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.EnemyListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 61 "..\..\Editor.xaml"
     this.EnemyListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.EnemyListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.EnemyListConextBox = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 19:
     this.NewTemplatedEnemy = ((System.Windows.Controls.MenuItem)(target));
     
     #line 64 "..\..\Editor.xaml"
     this.NewTemplatedEnemy.Click += new System.Windows.RoutedEventHandler(this.NewEnemyFromTemplate_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.DeleteCurrentEnemy = ((System.Windows.Controls.MenuItem)(target));
     
     #line 65 "..\..\Editor.xaml"
     this.DeleteCurrentEnemy.Click += new System.Windows.RoutedEventHandler(this.DeleteCurrentEnemy_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.AddNewEnemy = ((System.Windows.Controls.MenuItem)(target));
     
     #line 66 "..\..\Editor.xaml"
     this.AddNewEnemy.Click += new System.Windows.RoutedEventHandler(this.AddNewEnemy_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.EnemyCountLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.EnemyLevelBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 26:
     this.EnemyLevelsListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 27:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.AddNewEnemyInstanceButton = ((System.Windows.Controls.Button)(target));
     
     #line 86 "..\..\Editor.xaml"
     this.AddNewEnemyInstanceButton.Click += new System.Windows.RoutedEventHandler(this.AddNewEnemyInstanceButton_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.EnemyPropertiesGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 30:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.StatDescriptionBox = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 32:
     this.EnemyNameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.EnemyDescriptionTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 34:
     this.EnemyPropertyTabs = ((System.Windows.Controls.TabControl)(target));
     return;
     case 35:
     this.EnemyStatsTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 36:
     this.EnemyStatsTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 37:
     this.EnemyStatViewDisplay = ((System.Windows.Controls.ListView)(target));
     
     #line 98 "..\..\Editor.xaml"
     this.EnemyStatViewDisplay.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.EnemyStatViewDisplay_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 38:
     this.EnemyStatDescriptionBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 39:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.StatRatingRectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 41:
     this.EnemyStatusResistancesTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 42:
     this.EnemyStatusResistanceGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 43:
     this.EnemyStatusResistancesGrid = ((System.Windows.Controls.ListView)(target));
     return;
     case 44:
     this.label22 = ((System.Windows.Controls.Label)(target));
     return;
     case 45:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.AddEnemySERes = ((System.Windows.Controls.Button)(target));
     
     #line 155 "..\..\Editor.xaml"
     this.AddEnemySERes.Click += new System.Windows.RoutedEventHandler(this.AddEnemySERes_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.RemoveEnemyStatusResistance = ((System.Windows.Controls.Button)(target));
     
     #line 156 "..\..\Editor.xaml"
     this.RemoveEnemyStatusResistance.Click += new System.Windows.RoutedEventHandler(this.RemoveEnemyStatusResistance_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.EnemyElementalEffectivnessTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 49:
     this.EnemyElementalEffectivenessTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 50:
     this.EnemyElementalEffectivenessGrid = ((System.Windows.Controls.ListView)(target));
     return;
     case 51:
     this.AddEnemyEleEff = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\Editor.xaml"
     this.AddEnemyEleEff.Click += new System.Windows.RoutedEventHandler(this.AddEnemyEleEff_Click);
     
     #line default
     #line hidden
     return;
     case 52:
     this.RemoveEnemyEleEff = ((System.Windows.Controls.Button)(target));
     
     #line 186 "..\..\Editor.xaml"
     this.RemoveEnemyEleEff.Click += new System.Windows.RoutedEventHandler(this.RemoveEnemyEleEff_Click);
     
     #line default
     #line hidden
     return;
     case 53:
     this.EnemyDropTableTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 54:
     this.EnemyDropTableGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 55:
     this.EnemyDropTable = ((System.Windows.Controls.ListView)(target));
     return;
     case 56:
     this.EnemyLootTableTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 57:
     this.EnemyLootTableTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 58:
     this.EnemyLootTableGrid = ((System.Windows.Controls.ListView)(target));
     return;
     case 59:
     this.EnemyAbilityTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 60:
     this.EnemyMagicTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 61:
     this.listBox1 = ((System.Windows.Controls.ListBox)(target));
     return;
     case 62:
     this.label19 = ((System.Windows.Controls.Label)(target));
     return;
     case 63:
     this.EnemySkillsTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 64:
     this.EnemyEquipmentTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 65:
     this.EnemyAITab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 66:
     this.UsePreDefScriptsCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 67:
     this.PreDefinedScripts = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 68:
     this.EnemyScriptSource = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 69:
     this.EnableCustomScript = ((System.Windows.Controls.CheckBox)(target));
     
     #line 292 "..\..\Editor.xaml"
     this.EnableCustomScript.Checked += new System.Windows.RoutedEventHandler(this.EnableCustomScript_Checked);
     
     #line default
     #line hidden
     
     #line 292 "..\..\Editor.xaml"
     this.EnableCustomScript.Unchecked += new System.Windows.RoutedEventHandler(this.EnableCustomScript_Checked);
     
     #line default
     #line hidden
     return;
     case 70:
     this.SaveToPreDefSource = ((System.Windows.Controls.Button)(target));
     return;
     case 71:
     this.EnemyMiscTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 72:
     this.EnemySizeSelector = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 73:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 74:
     this.ActiveEnemyClasses = ((System.Windows.Controls.ListBox)(target));
     return;
     case 75:
     this.AllEnemyClasses = ((System.Windows.Controls.ListBox)(target));
     return;
     case 76:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 77:
     this.ImmuneToScanCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 78:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 79:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 80:
     this.SaveAllEnemiesButton = ((System.Windows.Controls.Button)(target));
     
     #line 328 "..\..\Editor.xaml"
     this.SaveAllEnemiesButton.Click += new System.Windows.RoutedEventHandler(this.SaveAllEnemiesButton_Click);
     
     #line default
     #line hidden
     return;
     case 81:
     this.EnemyPartyEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 82:
     this.AbilityEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 83:
     this.StatusEffectsEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 84:
     this.StatusEffectListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 85:
     this.StatusEffectNameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 86:
     this.label20 = ((System.Windows.Controls.Label)(target));
     return;
     case 87:
     this.StatusEffectDescription = ((System.Windows.Controls.TextBox)(target));
     return;
     case 88:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 89:
     this.button3 = ((System.Windows.Controls.Button)(target));
     return;
     case 90:
     this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 91:
     this.label21 = ((System.Windows.Controls.Label)(target));
     return;
     case 92:
     this.StatusEffectCount = ((System.Windows.Controls.Label)(target));
     return;
     case 93:
     this.StatusEffectProperties = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 94:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 95:
     this.listBox4 = ((System.Windows.Controls.ListBox)(target));
     
     #line 360 "..\..\Editor.xaml"
     this.listBox4.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComponentList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 96:
     this.label30 = ((System.Windows.Controls.Label)(target));
     return;
     case 97:
     this.button4 = ((System.Windows.Controls.Button)(target));
     return;
     case 98:
     this.label31 = ((System.Windows.Controls.Label)(target));
     return;
     case 99:
     this.textBox4 = ((System.Windows.Controls.TextBox)(target));
     
     #line 370 "..\..\Editor.xaml"
     this.textBox4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ItemFamily_TextChanged);
     
     #line default
     #line hidden
     return;
     case 100:
     this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 371 "..\..\Editor.xaml"
     this.comboBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OtherFamilyMembers_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 101:
     this.button10 = ((System.Windows.Controls.Button)(target));
     
     #line 372 "..\..\Editor.xaml"
     this.button10.Click += new System.Windows.RoutedEventHandler(this.DelItemComponent_Click);
     
     #line default
     #line hidden
     return;
     case 102:
     this.listBox2 = ((System.Windows.Controls.ListBox)(target));
     return;
     case 103:
     this.listBox3 = ((System.Windows.Controls.ListBox)(target));
     return;
     case 104:
     this.comboBox3 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 105:
     this.ActionEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 106:
     this.ActionsGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 107:
     this.ActionListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 108:
     this.label23 = ((System.Windows.Controls.Label)(target));
     return;
     case 109:
     this.label24 = ((System.Windows.Controls.Label)(target));
     return;
     case 110:
     this.AddNewAction = ((System.Windows.Controls.Button)(target));
     return;
     case 111:
     this.SaveAllActions = ((System.Windows.Controls.Button)(target));
     return;
     case 112:
     this.ActionListSortOrder = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 113:
     this.label25 = ((System.Windows.Controls.Label)(target));
     return;
     case 114:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 115:
     this.ActionCount = ((System.Windows.Controls.Label)(target));
     return;
     case 116:
     this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 117:
     this.ActionComponentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 118:
     this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 119:
     this.ActionComponentList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 120:
     this.ItemEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 121:
     this.ItemListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 427 "..\..\Editor.xaml"
     this.ItemListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ItemListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 122:
     this.ActiveItemNameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 123:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 124:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 125:
     this.ItemCountLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 126:
     this.ItemDescriptionBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 127:
     this.ItemIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 128:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 129:
     this.CommonPropertiesGorupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 130:
     this.CommonPropertiesGorupBoxBrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 131:
     this.label15 = ((System.Windows.Controls.Label)(target));
     return;
     case 132:
     this.ItemValueBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 133:
     this.ItemCurrentClasses = ((System.Windows.Controls.ListBox)(target));
     return;
     case 134:
     this.AvailableItemClasses = ((System.Windows.Controls.ListBox)(target));
     return;
     case 135:
     this.label16 = ((System.Windows.Controls.Label)(target));
     return;
     case 136:
     this.label17 = ((System.Windows.Controls.Label)(target));
     return;
     case 137:
     this.ItemComponentList = ((System.Windows.Controls.ListBox)(target));
     
     #line 447 "..\..\Editor.xaml"
     this.ItemComponentList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComponentList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 138:
     this.label18 = ((System.Windows.Controls.Label)(target));
     return;
     case 139:
     this.AddComponent = ((System.Windows.Controls.Button)(target));
     return;
     case 140:
     this.label14 = ((System.Windows.Controls.Label)(target));
     return;
     case 141:
     this.ItemFamily = ((System.Windows.Controls.TextBox)(target));
     
     #line 457 "..\..\Editor.xaml"
     this.ItemFamily.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ItemFamily_TextChanged);
     
     #line default
     #line hidden
     return;
     case 142:
     this.OtherFamilyMembers = ((System.Windows.Controls.ComboBox)(target));
     
     #line 458 "..\..\Editor.xaml"
     this.OtherFamilyMembers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OtherFamilyMembers_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 143:
     this.AddAvailableClass = ((System.Windows.Controls.Button)(target));
     
     #line 459 "..\..\Editor.xaml"
     this.AddAvailableClass.Click += new System.Windows.RoutedEventHandler(this.AddAvailableClass_Click);
     
     #line default
     #line hidden
     return;
     case 144:
     this.RemoveCurrentClass = ((System.Windows.Controls.Button)(target));
     
     #line 460 "..\..\Editor.xaml"
     this.RemoveCurrentClass.Click += new System.Windows.RoutedEventHandler(this.RemoveCurrentClass_Click);
     
     #line default
     #line hidden
     return;
     case 145:
     this.AddnewItemClassButton = ((System.Windows.Controls.Button)(target));
     
     #line 461 "..\..\Editor.xaml"
     this.AddnewItemClassButton.Click += new System.Windows.RoutedEventHandler(this.AddnewItemClassButton_Click);
     
     #line default
     #line hidden
     return;
     case 146:
     this.MoveItemClassUp = ((System.Windows.Controls.Button)(target));
     
     #line 462 "..\..\Editor.xaml"
     this.MoveItemClassUp.Click += new System.Windows.RoutedEventHandler(this.MoveItemClassUp_Click);
     
     #line default
     #line hidden
     return;
     case 147:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 463 "..\..\Editor.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);
     
     #line default
     #line hidden
     return;
     case 148:
     this.DelItemComponent = ((System.Windows.Controls.Button)(target));
     
     #line 464 "..\..\Editor.xaml"
     this.DelItemComponent.Click += new System.Windows.RoutedEventHandler(this.DelItemComponent_Click);
     
     #line default
     #line hidden
     return;
     case 149:
     this.ActiveItemComponentGrouping = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 150:
     this.ItemComponentAttachmentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 151:
     this.AddNewItemButton = ((System.Windows.Controls.Button)(target));
     return;
     case 152:
     this.SaveAllItemChanges = ((System.Windows.Controls.Button)(target));
     
     #line 471 "..\..\Editor.xaml"
     this.SaveAllItemChanges.Click += new System.Windows.RoutedEventHandler(this.SaveAllItemChanges_Click);
     
     #line default
     #line hidden
     return;
     case 153:
     this.SortItemsSelect = ((System.Windows.Controls.ComboBox)(target));
     
     #line 472 "..\..\Editor.xaml"
     this.SortItemsSelect.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SortItemsSelect_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 154:
     this.MapEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 155:
     this.treeView1 = ((System.Windows.Controls.TreeView)(target));
     return;
     case 156:
     this.TiledHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 157:
     this.LaunchTiled = ((System.Windows.Controls.Button)(target));
     return;
     case 158:
     this.AnimationEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 159:
     this.AudioEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 160:
     this.AudioPlayer = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 161:
     this.GraphicTools = ((System.Windows.Controls.TabItem)(target));
     return;
     case 162:
     this.GraphicToolsTabs = ((System.Windows.Controls.TabControl)(target));
     return;
     case 163:
     this.Shaders = ((System.Windows.Controls.TabItem)(target));
     return;
     case 164:
     this.listBox5 = ((System.Windows.Controls.ListBox)(target));
     return;
     case 165:
     this.ShaderPreviewing = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 166:
     this.SFMLPreImageBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 167:
     this.PreShaderImage = ((System.Windows.Controls.Image)(target));
     return;
     case 168:
     this.ActivateShader = ((System.Windows.Controls.Button)(target));
     
     #line 504 "..\..\Editor.xaml"
     this.ActivateShader.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ActivateShader_MouseEnter);
     
     #line default
     #line hidden
     
     #line 504 "..\..\Editor.xaml"
     this.ActivateShader.Click += new System.Windows.RoutedEventHandler(this.ActivateShader_Click);
     
     #line default
     #line hidden
     return;
     case 169:
     this.PauseShaderTime = ((System.Windows.Controls.Button)(target));
     return;
     case 170:
     this.SFMLShaderBoxBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 171:
     this.SFMLShaderHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 172:
     this.label29 = ((System.Windows.Controls.Label)(target));
     return;
     case 173:
     this.label27 = ((System.Windows.Controls.Label)(target));
     return;
     case 174:
     this.LoadImageForShader = ((System.Windows.Controls.Button)(target));
     
     #line 519 "..\..\Editor.xaml"
     this.LoadImageForShader.Click += new System.Windows.RoutedEventHandler(this.LoadImageForShader_Click);
     
     #line default
     #line hidden
     return;
     case 175:
     this.ShaderEditor = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 176:
     this.ShaderEditorBox = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 177:
     this.ShaderErrorBox = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 178:
     this.label28 = ((System.Windows.Controls.Label)(target));
     return;
     case 179:
     this.label33 = ((System.Windows.Controls.Label)(target));
     return;
     case 180:
     this.label34 = ((System.Windows.Controls.Label)(target));
     return;
     case 181:
     this.label35 = ((System.Windows.Controls.Label)(target));
     return;
     case 182:
     this.label36 = ((System.Windows.Controls.Label)(target));
     return;
     case 183:
     this.UseImageRes = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 184:
     this.GameConfiguration = ((System.Windows.Controls.TabItem)(target));
     return;
     case 185:
     this.CppCodeGen = ((System.Windows.Controls.TabItem)(target));
     return;
     case 186:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 187:
     this.EnumMapper = ((System.Windows.Controls.TabItem)(target));
     return;
     case 188:
     this.EnumInBox = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 189:
     this.label26 = ((System.Windows.Controls.Label)(target));
     return;
     case 190:
     this.OutputEnumCode = ((System.Windows.Controls.Button)(target));
     
     #line 548 "..\..\Editor.xaml"
     this.OutputEnumCode.Click += new System.Windows.RoutedEventHandler(this.OutputEnumCode_Click);
     
     #line default
     #line hidden
     return;
     case 191:
     this.EnumOutBox = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 192:
     this.EnumOutTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.KHMPToolsWindow = ((WPFTools.Editor)(target));
     return;
     case 2:
     this.EditorTabs = ((System.Windows.Controls.TabControl)(target));
     return;
     case 3:
     this.GameFiles = ((System.Windows.Controls.TabItem)(target));
     return;
     case 4:
     this.GameFilesTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.EnemyDBFile = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.BrowseForEnemyXML = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\..\Editor.xaml"
     this.BrowseForEnemyXML.Click += new System.Windows.RoutedEventHandler(this.BrowseForEnemyXML_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.ItemsDBFile = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.BrowseForItemsXML = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\..\Editor.xaml"
     this.BrowseForItemsXML.Click += new System.Windows.RoutedEventHandler(this.BrowseForItemsXML_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.PlayerEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 12:
     this.SaveEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 13:
     this.EnemyEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 14:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.AddNewEnemyButton = ((System.Windows.Controls.Button)(target));
     
     #line 58 "..\..\..\Editor.xaml"
     this.AddNewEnemyButton.Click += new System.Windows.RoutedEventHandler(this.AddNewEnemyButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.EnemyListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 59 "..\..\..\Editor.xaml"
     this.EnemyListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.EnemyListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.EnemyListConextBox = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 18:
     this.NewTemplatedEnemy = ((System.Windows.Controls.MenuItem)(target));
     
     #line 62 "..\..\..\Editor.xaml"
     this.NewTemplatedEnemy.Click += new System.Windows.RoutedEventHandler(this.NewEnemyFromTemplate_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.DeleteCurrentEnemy = ((System.Windows.Controls.MenuItem)(target));
     
     #line 63 "..\..\..\Editor.xaml"
     this.DeleteCurrentEnemy.Click += new System.Windows.RoutedEventHandler(this.DeleteCurrentEnemy_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.AddNewEnemy = ((System.Windows.Controls.MenuItem)(target));
     
     #line 64 "..\..\..\Editor.xaml"
     this.AddNewEnemy.Click += new System.Windows.RoutedEventHandler(this.AddNewEnemy_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.EnemyCountLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.EnemyLevelBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 25:
     this.EnemyLevelsListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 26:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.AddNewEnemyInstanceButton = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\..\Editor.xaml"
     this.AddNewEnemyInstanceButton.Click += new System.Windows.RoutedEventHandler(this.AddNewEnemyInstanceButton_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.EnemyPropertiesGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.StatDescriptionBox = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 31:
     this.EnemyNameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.EnemyDescriptionTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 33:
     this.EnemyPropertyTabs = ((System.Windows.Controls.TabControl)(target));
     return;
     case 34:
     this.EnemyStatsTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 35:
     this.EnemyStatsTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 36:
     this.EnemyStatViewDisplay = ((System.Windows.Controls.ListView)(target));
     
     #line 96 "..\..\..\Editor.xaml"
     this.EnemyStatViewDisplay.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.EnemyStatViewDisplay_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 37:
     this.EnemyStatDescriptionBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.StatRatingRectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 40:
     this.EnemyStatusResistancesTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 41:
     this.EnemyStatusResistanceGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 42:
     this.EnemyStatusResistancesGrid = ((System.Windows.Controls.ListView)(target));
     return;
     case 43:
     this.EnemyElementalEffectivnessTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 44:
     this.EnemyElementalEffectivenessTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 45:
     this.EnemyElementalEffectivenessGrid = ((System.Windows.Controls.ListView)(target));
     return;
     case 46:
     this.EnemyDropTableTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 47:
     this.EnemyDropTableGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 48:
     this.EnemyDropTable = ((System.Windows.Controls.ListView)(target));
     return;
     case 49:
     this.EnemyLootTableTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 50:
     this.EnemyLootTableTabGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 51:
     this.EnemyLootTableGrid = ((System.Windows.Controls.ListView)(target));
     return;
     case 52:
     this.EnemyAbilityTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 53:
     this.EnemyMagicTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 54:
     this.EnemySkillsTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 55:
     this.EnemyEquipmentTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 56:
     this.EnemyAITab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 57:
     this.UsePreDefScriptsCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 58:
     this.PreDefinedScripts = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 59:
     this.EnemyScriptSource = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 60:
     this.EnableCustomScript = ((System.Windows.Controls.CheckBox)(target));
     
     #line 282 "..\..\..\Editor.xaml"
     this.EnableCustomScript.Checked += new System.Windows.RoutedEventHandler(this.EnableCustomScript_Checked);
     
     #line default
     #line hidden
     
     #line 282 "..\..\..\Editor.xaml"
     this.EnableCustomScript.Unchecked += new System.Windows.RoutedEventHandler(this.EnableCustomScript_Checked);
     
     #line default
     #line hidden
     return;
     case 61:
     this.SaveToPreDefSource = ((System.Windows.Controls.Button)(target));
     return;
     case 62:
     this.EnemyMiscTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 63:
     this.EnemySizeSelector = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 64:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 65:
     this.ActiveEnemyClasses = ((System.Windows.Controls.ListBox)(target));
     return;
     case 66:
     this.AllEnemyClasses = ((System.Windows.Controls.ListBox)(target));
     return;
     case 67:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 68:
     this.ImmuneToScanCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 69:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 70:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 71:
     this.SaveAllEnemiesButton = ((System.Windows.Controls.Button)(target));
     
     #line 318 "..\..\..\Editor.xaml"
     this.SaveAllEnemiesButton.Click += new System.Windows.RoutedEventHandler(this.SaveAllEnemiesButton_Click);
     
     #line default
     #line hidden
     return;
     case 72:
     this.EnemyPartyEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 73:
     this.AbilityEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 74:
     this.StatusEffectsEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 75:
     this.AttackEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 76:
     this.ItemEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 77:
     this.ItemListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 353 "..\..\..\Editor.xaml"
     this.ItemListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ItemListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 78:
     this.ActiveItemNameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 79:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 80:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 81:
     this.ItemCountLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 82:
     this.ItemDescriptionBox = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 83:
     this.ItemIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 84:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 85:
     this.CommonPropertiesGorupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 86:
     this.CommonPropertiesGorupBoxBrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 87:
     this.label15 = ((System.Windows.Controls.Label)(target));
     return;
     case 88:
     this.ItemValueBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 89:
     this.listBox1 = ((System.Windows.Controls.ListBox)(target));
     return;
     case 90:
     this.listBox2 = ((System.Windows.Controls.ListBox)(target));
     return;
     case 91:
     this.label16 = ((System.Windows.Controls.Label)(target));
     return;
     case 92:
     this.label17 = ((System.Windows.Controls.Label)(target));
     return;
     case 93:
     this.ComponentList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 94:
     this.label18 = ((System.Windows.Controls.Label)(target));
     return;
     case 95:
     this.AddComponent = ((System.Windows.Controls.Button)(target));
     return;
     case 96:
     this.label14 = ((System.Windows.Controls.Label)(target));
     return;
     case 97:
     this.ItemFamily = ((System.Windows.Controls.TextBox)(target));
     
     #line 383 "..\..\..\Editor.xaml"
     this.ItemFamily.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ItemFamily_TextChanged);
     
     #line default
     #line hidden
     return;
     case 98:
     this.OtherFamilyMembers = ((System.Windows.Controls.ComboBox)(target));
     
     #line 384 "..\..\..\Editor.xaml"
     this.OtherFamilyMembers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OtherFamilyMembers_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 99:
     this.ActiveComponentGrouping = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 100:
     this.MapEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 101:
     this.AnimationEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 102:
     this.AudioEditor = ((System.Windows.Controls.TabItem)(target));
     return;
     case 103:
     this.GameConfiguration = ((System.Windows.Controls.TabItem)(target));
     return;
     }
     this._contentLoaded = true;
 }