Changeset 1254
- Timestamp:
- 1/19/2010 11:55:00 AM (2 months ago)
- Location:
- branches/EveHQv2
- Files:
-
- 10 modified
-
. (modified) (1 prop)
-
EveHQ.HQF/Classes/PlugInData.vb (modified) (1 diff)
-
EveHQ.HQF/Forms/frmHQF.Designer.vb (modified) (3 diffs)
-
EveHQ.HQF/Forms/frmHQF.resx (modified) (3 diffs)
-
EveHQ.HQF/Forms/frmHQF.vb (modified) (1 diff)
-
EveHQ.HQF/Forms/frmPilotManager.vb (modified) (1 diff)
-
EveHQ.Prism/Forms/frmPrism.Designer.vb (modified) (49 diffs)
-
EveHQ.Prism/Forms/frmPrism.resx (modified) (1 diff)
-
EveHQ.Prism/Forms/frmPrism.vb (modified) (16 diffs)
-
EveHQ.Prism/My Project/AssemblyInfo.vb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/EveHQv2
- Property svn:mergeinfo
-
old new 1 1 /branches/PrismPhaseII:589-675 2 /trunk:1195-1210,1216-1230,1232-1233,1235,1237,1239-1241,1243 2 /trunk:1195-1210,1216-1230,1232-1233,1235,1237,1239-1241,1243,1245-1253
-
- Property svn:mergeinfo
-
branches/EveHQv2/EveHQ.HQF/Classes/PlugInData.vb
r1152 r1254 1865 1865 Call PopulateModuleGroups(CInt(rootRow.Item("marketGroupID")), rootNode, marketTable) 1866 1866 Select Case rootNode.Text 1867 Case "Ship Equipment", "Ammunition & Charges", "Drones", "Ship Modifications" ', "Implants & Boosters"1867 Case "Ship Equipment", "Ammunition & Charges", "Drones", "Ship Modifications", "Implants & Boosters" 1868 1868 tvwItems.Nodes.Add(rootNode) 1869 1869 End Select -
branches/EveHQv2/EveHQ.HQF/Forms/frmHQF.Designer.vb
r1231 r1254 1831 1831 Me.tabFit.Location = New System.Drawing.Point(4, 22) 1832 1832 Me.tabFit.Name = "tabFit" 1833 Me.tabFit.Size = New System.Drawing.Size(58 4, 670)1833 Me.tabFit.Size = New System.Drawing.Size(589, 670) 1834 1834 Me.tabFit.TabIndex = 2 1835 1835 Me.tabFit.Text = "Fitting" … … 1841 1841 Me.panelShipSlot.Location = New System.Drawing.Point(0, 0) 1842 1842 Me.panelShipSlot.Name = "panelShipSlot" 1843 Me.panelShipSlot.Size = New System.Drawing.Size(33 4, 670)1843 Me.panelShipSlot.Size = New System.Drawing.Size(339, 670) 1844 1844 Me.panelShipSlot.TabIndex = 1 1845 1845 ' … … 1847 1847 ' 1848 1848 Me.panelShipInfo.Dock = System.Windows.Forms.DockStyle.Right 1849 Me.panelShipInfo.Location = New System.Drawing.Point(33 4, 0)1849 Me.panelShipInfo.Location = New System.Drawing.Point(339, 0) 1850 1850 Me.panelShipInfo.Name = "panelShipInfo" 1851 1851 Me.panelShipInfo.Size = New System.Drawing.Size(250, 670) -
branches/EveHQv2/EveHQ.HQF/Forms/frmHQF.resx
r1231 r1254 319 319 AU4DSwGKA0sBjQNBAW4DFQEbAwMBArwAAwcBCAMwAUoDQQFvAyQBMwMKAQsEAwwABAMDDgERAy8ERwF/ 320 320 AyIBLwQGFAADCwENA0MBdAz/A1oBvgMWARwDUQGeDP8DUQGcAxYBHAQDLAADAwECAwgBCQMNARADCAEJ 321 AwMBAnQAAwIBAQMSARcDXAHDAWEC VgHzA1wByANDAXMDJAEzAwwBDgQEAwsBDQMrAT8DTwGYA10B3wGo322 AkEB/QNDAXUDCgELAwIBAQwABAYDQQFvAWYCX AHxBP8DVwG2A0oBhwM4AVsDCgEMAy4BRgNJAYQDUgGg323 AWQCT gH2AXACVwH3A1MBoQMZASADAgEBKAADCAEJAzMBUANLAYoDMgFNAwkBCgMCAQEkAAMCAQEDAgEB321 AwMBAnQAAwIBAQMSARcDXAHDAWECWAHzA1wByANDAXMDJAEzAwwBDgQEAwsBDQMrAT8DTwGYA10B3wGo 322 AkEB/QNDAXUDCgELAwIBAQwABAYDQQFvAWYCXgHxBP8DVwG2A0oBhwM4AVsDCgEMAy4BRgNJAYQDUgGg 323 AWQCTwH2AXACWAH3A1MBoQMZASADAgEBKAADCAEJAzMBUANLAYoDMgFNAwkBCgMCAQEkAAMCAQEDAgEB 324 324 AwIBAQMCAQEDAgEBAwIBAQMCAQEDAgEBAwIBAQMCAQEDAgEBAwIBAQMCAQEDAgEBAwIBARAAAwIBAQMO 325 AREDWgHHAWAC JwH7A4AB/gFmAlwB8QNYAbUDPAFiAxkBIQM/AWsDXwHQAywB/AGoAkEB/QFlAmIB5wM6325 AREDWgHHAWACKAH7A4AB/gFmAl4B8QNYAbUDPAFiAxkBIQM/AWsDXwHQAywB/AGoAkEB/QFlAmMB5wM6 326 326 AV4EBxAAAwoBDAFgAlwB0wT/A1sBvwMfASsEBgMDBAIBAQMDAQIEBQMQARMDSQGECP8DLQFDAwMBAiQA 327 AwIBAQMRARUDXQHEAV0C SgH4A0sBjQMSARYDAgEBIAADAgEBBAUDDQEQAxQBGgMUARoDFAEaAxQBGgMQ327 AwIBAQMRARUDXQHEAV0CTQH4A0sBjQMSARYDAgEBIAADAgEBBAUDDQEQAxQBGgMUARoDFAEaAxQBGgMQ 328 328 ARQDBwEIAwkBCgMSARcDFAEaAxQBGgMUARoDEwEYAwwBDgQFEAAEAwMQARMDNAFSA2AB4AOAAf4DLAH8 329 329 A1oBuQMsAUEDXwHtA4AB/gGoAkEB/QNOAZQDHgEpBAYUAAMLAQ0BYAJcAdME/wNIAYADFAEaAwIBARAA … … 336 336 AxABFAMJAQoDAgEBFAADAwECAwsBDQMSARYDDgERBAUkAAMCAQEDEgEWAV8CWwHNA4AB/gNTAaEDKwFA 337 337 BAcgAAQFAzkBXQNbAb0DWwG9A1sBvQNbAb0DWwG9AzMBTwMQARMDUgGfA1sBvQNbAb0DWwG9A1sBvQNN 338 AZIDEAETBAQgAAMCAQEDEAETA1oBuQFlAm AB7ANRAZ0DLAFCBAcgAAQDAzABSQNBAXADPAFjAykBPAQF338 AZIDEAETBAQgAAMCAQEDEAETA1oBuQFlAmIB7ANRAZ0DLAFCBAcgAAQDAzABSQNBAXADPAFjAykBPAQF 339 339 FAAEBwM6AV8DRgF9AzkBXAMaASMDAwECIAADAgEBAxEBFQNdAcwDgAH+A0UBegMcASUEByAAAwIBAQQF 340 340 BwcBCAMHAQgDBwEIBAcEBQQDBAYDBwEIAwcBCAMHAQgDBwEIBAYDAwECJAADAgEBAxIBFgFfAlsBzQOA … … 343 343 IAADCwENA2IB1AT/A0UBewNCAXIDLwFHAxQBGgMNARADCQEKAwMBAgMKAQwDKgE9CP8DSAGAAyoBPgQF 344 344 JAADAwECCAUEA4wAAwIBAQMSARYBXwJbAc0DgAH+A08BmAM8AWMDEgEWAwMBAhwAAwgBCQNYAboE/wNg 345 AdgDRQF7A0UBeAM+AWgDOQFcAywBQQMWARwDMgFNA1wBywT/AWMC WwHuAzoBXwMTARgDAgEBwAADAgEB345 AdgDRQF7A0UBeAM+AWgDOQFcAywBQQMWARwDMgFNA1wBywT/AWMCXQHuAzoBXwMTARgDAgEBwAADAgEB 346 346 AxIBFgFfAlsBzQOAAf4DPwFrAyEBLQMLAQ0DAwECHAAEAwMaASMDYAHVDP8DXAHGAzwBZANXAbEM/wFl 347 Am AB7ANAAW0DGAEfAwMBAsgAAwoBCwNNAZADWwG9AyYBNwQFAwMBAiQABAYDJgE2A10B0Qj/AVcCVQGr347 AmIB7ANAAW0DGAEfAwMBAsgAAwoBCwNNAZADWwG9AyYBNwQFAwMBAiQABAYDJgE2A10B0Qj/AVcCVQGr 348 348 AxMBGANOAZQI/wNhAdsDMQFMAw4BEQQDzAADAwECBAYEBwQEMAAEBAMQARQDGQEgAxgBHwMLAQ0DAwEC 349 349 AwoBCwMXAR0DGQEhAxEBFQQG/wAZAAMCAQEDAgEBAwIBAQwAAwIBAQMCAQEDAgEB/wD/AJoAAUIBTQE+ -
branches/EveHQv2/EveHQ.HQF/Forms/frmHQF.vb
r1231 r1254 2235 2235 Dim cModule As ShipModule = CType(ModuleLists.moduleList.Item(moduleID), ShipModule) 2236 2236 Dim pathLine As String = CStr(Market.MarketGroupPath(cModule.MarketGroup)) 2237 ShipModule.DisplayedMarketGroup = pathLine 2237 If pathLine IsNot Nothing Then 2238 ShipModule.DisplayedMarketGroup = pathLine 2239 Else 2240 MessageBox.Show("Unable to display Market Group due to absence of Market Group information in HQF.", "Unable to Show Market Group", MessageBoxButtons.OK, MessageBoxIcon.Information) 2241 End If 2238 2242 End Sub 2239 2243 -
branches/EveHQv2/EveHQ.HQF/Forms/frmPilotManager.vb
r1141 r1254 149 149 clvSkills.Items.Add(groupNode) 150 150 ' Now cycle through the list to get the skills 151 For Each newSkill In EveHQ.Core.HQ.SkillList ID.Values151 For Each newSkill In EveHQ.Core.HQ.SkillListName.Values 152 152 If newSkill.GroupID <> "505" Then 153 153 If newSkill.GroupID = newSkillGroup.ID And newSkill.Published = True Then -
branches/EveHQv2/EveHQ.Prism/Forms/frmPrism.Designer.vb
r1055 r1254 248 248 Me.colJobsStatus = New DotNetLib.Windows.Forms.ContainerListViewColumnHeader 249 249 Me.tabRecycle = New System.Windows.Forms.TabPage 250 Me.btnExport = New EveHQ.Core.SplitButton 251 Me.ctxRecycleExport = New System.Windows.Forms.ContextMenuStrip(Me.components) 252 Me.mnuExportToCSV = New System.Windows.Forms.ToolStripMenuItem 253 Me.mnuExportToTSV = New System.Windows.Forms.ToolStripMenuItem 254 Me.ToolStripMenuItem5 = New System.Windows.Forms.ToolStripSeparator 255 Me.mnuExportTotalsToCSV = New System.Windows.Forms.ToolStripMenuItem 256 Me.mnuExportTotalsToTSV = New System.Windows.Forms.ToolStripMenuItem 250 257 Me.chkFeesOnItems = New System.Windows.Forms.CheckBox 251 258 Me.lblPriceTotals = New System.Windows.Forms.Label … … 407 414 Me.ColumnHeader12 = New System.Windows.Forms.ColumnHeader 408 415 Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components) 409 Me.btnExport = New EveHQ.Core.SplitButton 410 Me.ctxRecycleExport = New System.Windows.Forms.ContextMenuStrip(Me.components) 411 Me.mnuExportToCSV = New System.Windows.Forms.ToolStripMenuItem 412 Me.mnuExportToTSV = New System.Windows.Forms.ToolStripMenuItem 413 Me.ToolStripMenuItem5 = New System.Windows.Forms.ToolStripSeparator 414 Me.mnuExportTotalsToCSV = New System.Windows.Forms.ToolStripMenuItem 415 Me.mnuExportTotalsToTSV = New System.Windows.Forms.ToolStripMenuItem 416 Me.chkCorpHangarMode = New System.Windows.Forms.CheckBox 416 417 Me.ctxAssets.SuspendLayout() 417 418 Me.ctxFilter.SuspendLayout() … … 439 440 Me.tabJobs.SuspendLayout() 440 441 Me.tabRecycle.SuspendLayout() 442 Me.ctxRecycleExport.SuspendLayout() 441 443 CType(Me.nudTax, System.ComponentModel.ISupportInitialize).BeginInit() 442 444 CType(Me.nudBrokerFee, System.ComponentModel.ISupportInitialize).BeginInit() … … 458 460 Me.StatusStrip1.SuspendLayout() 459 461 Me.ToolStrip1.SuspendLayout() 460 Me.ctxRecycleExport.SuspendLayout()461 462 Me.SuspendLayout() 462 463 ' … … 465 466 Me.ctxAssets.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuItemName, Me.ToolStripMenuItem1, Me.mnuAddCustomName, Me.mnuRemoveCustomName, Me.ToolStripMenuItem3, Me.mnuViewInIB, Me.mnuViewInHQF, Me.mnuModifyPrice, Me.mnuToolSep, Me.mnuItemRecycling}) 466 467 Me.ctxAssets.Name = "ctxAssets" 467 Me.ctxAssets.Size = New System.Drawing.Size(19 8, 176)468 Me.ctxAssets.Size = New System.Drawing.Size(194, 176) 468 469 ' 469 470 'mnuItemName … … 471 472 Me.mnuItemName.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.0!, System.Drawing.FontStyle.Bold) 472 473 Me.mnuItemName.Name = "mnuItemName" 473 Me.mnuItemName.Size = New System.Drawing.Size(19 7, 22)474 Me.mnuItemName.Size = New System.Drawing.Size(193, 22) 474 475 Me.mnuItemName.Text = "Item Name" 475 476 ' … … 477 478 ' 478 479 Me.ToolStripMenuItem1.Name = "ToolStripMenuItem1" 479 Me.ToolStripMenuItem1.Size = New System.Drawing.Size(19 4, 6)480 Me.ToolStripMenuItem1.Size = New System.Drawing.Size(190, 6) 480 481 ' 481 482 'mnuAddCustomName 482 483 ' 483 484 Me.mnuAddCustomName.Name = "mnuAddCustomName" 484 Me.mnuAddCustomName.Size = New System.Drawing.Size(19 7, 22)485 Me.mnuAddCustomName.Size = New System.Drawing.Size(193, 22) 485 486 Me.mnuAddCustomName.Text = "Add Custom Name" 486 487 ' … … 488 489 ' 489 490 Me.mnuRemoveCustomName.Name = "mnuRemoveCustomName" 490 Me.mnuRemoveCustomName.Size = New System.Drawing.Size(19 7, 22)491 Me.mnuRemoveCustomName.Size = New System.Drawing.Size(193, 22) 491 492 Me.mnuRemoveCustomName.Text = "Remove Custom Name" 492 493 ' … … 494 495 ' 495 496 Me.ToolStripMenuItem3.Name = "ToolStripMenuItem3" 496 Me.ToolStripMenuItem3.Size = New System.Drawing.Size(19 4, 6)497 Me.ToolStripMenuItem3.Size = New System.Drawing.Size(190, 6) 497 498 ' 498 499 'mnuViewInIB 499 500 ' 500 501 Me.mnuViewInIB.Name = "mnuViewInIB" 501 Me.mnuViewInIB.Size = New System.Drawing.Size(19 7, 22)502 Me.mnuViewInIB.Size = New System.Drawing.Size(193, 22) 502 503 Me.mnuViewInIB.Text = "View In Item Browser" 503 504 ' … … 505 506 ' 506 507 Me.mnuViewInHQF.Name = "mnuViewInHQF" 507 Me.mnuViewInHQF.Size = New System.Drawing.Size(19 7, 22)508 Me.mnuViewInHQF.Size = New System.Drawing.Size(193, 22) 508 509 Me.mnuViewInHQF.Text = "Copy Setup for HQF" 509 510 ' … … 511 512 ' 512 513 Me.mnuModifyPrice.Name = "mnuModifyPrice" 513 Me.mnuModifyPrice.Size = New System.Drawing.Size(19 7, 22)514 Me.mnuModifyPrice.Size = New System.Drawing.Size(193, 22) 514 515 Me.mnuModifyPrice.Text = "Modify Custom Price" 515 516 ' … … 517 518 ' 518 519 Me.mnuToolSep.Name = "mnuToolSep" 519 Me.mnuToolSep.Size = New System.Drawing.Size(19 4, 6)520 Me.mnuToolSep.Size = New System.Drawing.Size(190, 6) 520 521 ' 521 522 'mnuItemRecycling … … 523 524 Me.mnuItemRecycling.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuRecycleItem, Me.mnuRecycleContained, Me.mnuRecycleAll}) 524 525 Me.mnuItemRecycling.Name = "mnuItemRecycling" 525 Me.mnuItemRecycling.Size = New System.Drawing.Size(19 7, 22)526 Me.mnuItemRecycling.Size = New System.Drawing.Size(193, 22) 526 527 Me.mnuItemRecycling.Text = "Recycling Profitability" 527 528 ' … … 529 530 ' 530 531 Me.mnuRecycleItem.Name = "mnuRecycleItem" 531 Me.mnuRecycleItem.Size = New System.Drawing.Size(1 69, 22)532 Me.mnuRecycleItem.Size = New System.Drawing.Size(173, 22) 532 533 Me.mnuRecycleItem.Text = "Current Item" 533 534 ' … … 536 537 Me.mnuRecycleContained.Enabled = False 537 538 Me.mnuRecycleContained.Name = "mnuRecycleContained" 538 Me.mnuRecycleContained.Size = New System.Drawing.Size(1 69, 22)539 Me.mnuRecycleContained.Size = New System.Drawing.Size(173, 22) 539 540 Me.mnuRecycleContained.Text = "Contained Items" 540 541 ' … … 543 544 Me.mnuRecycleAll.Enabled = False 544 545 Me.mnuRecycleAll.Name = "mnuRecycleAll" 545 Me.mnuRecycleAll.Size = New System.Drawing.Size(1 69, 22)546 Me.mnuRecycleAll.Size = New System.Drawing.Size(173, 22) 546 547 Me.mnuRecycleAll.Text = "Container + Items" 547 548 ' … … 570 571 Me.ctxFilter.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.AddToFilterToolStripMenuItem}) 571 572 Me.ctxFilter.Name = "ctxFilter" 572 Me.ctxFilter.Size = New System.Drawing.Size(14 3, 26)573 Me.ctxFilter.Size = New System.Drawing.Size(147, 26) 573 574 ' 574 575 'AddToFilterToolStripMenuItem 575 576 ' 576 577 Me.AddToFilterToolStripMenuItem.Name = "AddToFilterToolStripMenuItem" 577 Me.AddToFilterToolStripMenuItem.Size = New System.Drawing.Size(14 2, 22)578 Me.AddToFilterToolStripMenuItem.Size = New System.Drawing.Size(146, 22) 578 579 Me.AddToFilterToolStripMenuItem.Text = "Add To Filter" 579 580 ' … … 603 604 Me.ctxFilterList.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.RemoveFilterToolStripMenuItem}) 604 605 Me.ctxFilterList.Name = "ctxFilterList" 605 Me.ctxFilterList.Size = New System.Drawing.Size(1 47, 26)606 Me.ctxFilterList.Size = New System.Drawing.Size(152, 26) 606 607 ' 607 608 'RemoveFilterToolStripMenuItem 608 609 ' 609 610 Me.RemoveFilterToolStripMenuItem.Name = "RemoveFilterToolStripMenuItem" 610 Me.RemoveFilterToolStripMenuItem.Size = New System.Drawing.Size(1 46, 22)611 Me.RemoveFilterToolStripMenuItem.Size = New System.Drawing.Size(151, 22) 611 612 Me.RemoveFilterToolStripMenuItem.Text = "Remove Filter" 612 613 ' … … 645 646 Me.ctxTabPrism.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuClosePrismTab}) 646 647 Me.ctxTabPrism.Name = "ctxTabbedMDI" 647 Me.ctxTabPrism.Size = New System.Drawing.Size(12 4, 26)648 Me.ctxTabPrism.Size = New System.Drawing.Size(128, 26) 648 649 ' 649 650 'mnuClosePrismTab 650 651 ' 651 652 Me.mnuClosePrismTab.Name = "mnuClosePrismTab" 652 Me.mnuClosePrismTab.Size = New System.Drawing.Size(12 3, 22)653 Me.mnuClosePrismTab.Size = New System.Drawing.Size(127, 22) 653 654 Me.mnuClosePrismTab.Text = "Not Valid" 654 655 ' … … 749 750 Me.ctxAPIStatus.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuClearXMLCache}) 750 751 Me.ctxAPIStatus.Name = "ctxAPIStatus" 751 Me.ctxAPIStatus.Size = New System.Drawing.Size(19 8, 26)752 Me.ctxAPIStatus.Size = New System.Drawing.Size(194, 26) 752 753 ' 753 754 'mnuClearXMLCache 754 755 ' 755 756 Me.mnuClearXMLCache.Name = "mnuClearXMLCache" 756 Me.mnuClearXMLCache.Size = New System.Drawing.Size(19 7, 22)757 Me.mnuClearXMLCache.Size = New System.Drawing.Size(193, 22) 757 758 Me.mnuClearXMLCache.Text = "Clear Prism XML Cache" 758 759 ' 759 760 'tabAssets 760 761 ' 762 Me.tabAssets.Controls.Add(Me.chkCorpHangarMode) 761 763 Me.tabAssets.Controls.Add(Me.chkExcludeOrders) 762 764 Me.tabAssets.Controls.Add(Me.btnFilters) … … 784 786 ' 785 787 Me.chkExcludeOrders.AutoSize = True 786 Me.chkExcludeOrders.Location = New System.Drawing.Point( 724, 59)788 Me.chkExcludeOrders.Location = New System.Drawing.Point(455, 60) 787 789 Me.chkExcludeOrders.Name = "chkExcludeOrders" 788 790 Me.chkExcludeOrders.Size = New System.Drawing.Size(99, 17) … … 811 813 'txtMinSystemValue 812 814 ' 813 Me.txtMinSystemValue.Location = New System.Drawing.Point( 572, 57)815 Me.txtMinSystemValue.Location = New System.Drawing.Point(679, 57) 814 816 Me.txtMinSystemValue.Name = "txtMinSystemValue" 815 817 Me.txtMinSystemValue.Size = New System.Drawing.Size(135, 21) … … 821 823 ' 822 824 Me.chkMinSystemValue.AutoSize = True 823 Me.chkMinSystemValue.Location = New System.Drawing.Point( 453, 60)825 Me.chkMinSystemValue.Location = New System.Drawing.Point(560, 60) 824 826 Me.chkMinSystemValue.Name = "chkMinSystemValue" 825 827 Me.chkMinSystemValue.Size = New System.Drawing.Size(113, 17) … … 878 880 'txtSearch 879 881 ' 880 Me.txtSearch.Location = New System.Drawing.Point( 113, 34)882 Me.txtSearch.Location = New System.Drawing.Point(56, 34) 881 883 Me.txtSearch.Name = "txtSearch" 882 Me.txtSearch.Size = New System.Drawing.Size(2 15, 21)884 Me.txtSearch.Size = New System.Drawing.Size(231, 21) 883 885 Me.txtSearch.TabIndex = 19 884 886 ' … … 2671 2673 Me.tabRecycle.UseVisualStyleBackColor = True 2672 2674 ' 2675 'btnExport 2676 ' 2677 Me.btnExport.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) 2678 Me.btnExport.AutoSize = True 2679 Me.btnExport.ContextMenuStrip = Me.ctxRecycleExport 2680 Me.btnExport.Location = New System.Drawing.Point(1030, 520) 2681 Me.btnExport.Name = "btnExport" 2682 Me.btnExport.Size = New System.Drawing.Size(100, 23) 2683 Me.btnExport.SplitMenu = Me.ctxRecycleExport 2684 Me.btnExport.TabIndex = 62 2685 Me.btnExport.Text = "Export" 2686 Me.btnExport.UseVisualStyleBackColor = True 2687 ' 2688 'ctxRecycleExport 2689 ' 2690 Me.ctxRecycleExport.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuExportToCSV, Me.mnuExportToTSV, Me.ToolStripMenuItem5, Me.mnuExportTotalsToCSV, Me.mnuExportTotalsToTSV}) 2691 Me.ctxRecycleExport.Name = "ctxResourceExport" 2692 Me.ctxRecycleExport.Size = New System.Drawing.Size(282, 98) 2693 ' 2694 'mnuExportToCSV 2695 ' 2696 Me.mnuExportToCSV.Name = "mnuExportToCSV" 2697 Me.mnuExportToCSV.Size = New System.Drawing.Size(281, 22) 2698 Me.mnuExportToCSV.Text = "Copy Recycling Data to Clipboard (CSV)" 2699 ' 2700 'mnuExportToTSV 2701 ' 2702 Me.mnuExportToTSV.Name = "mnuExportToTSV" 2703 Me.mnuExportToTSV.Size = New System.Drawing.Size(281, 22) 2704 Me.mnuExportToTSV.Text = "Copy Recycling Data to Clipboard (TSV)" 2705 ' 2706 'ToolStripMenuItem5 2707 ' 2708 Me.ToolStripMenuItem5.Name = "ToolStripMenuItem5" 2709 Me.ToolStripMenuItem5.Size = New System.Drawing.Size(278, 6) 2710 ' 2711 'mnuExportTotalsToCSV 2712 ' 2713 Me.mnuExportTotalsToCSV.Name = "mnuExportTotalsToCSV" 2714 Me.mnuExportTotalsToCSV.Size = New System.Drawing.Size(281, 22) 2715 Me.mnuExportTotalsToCSV.Text = "Copy Recycling Totals to Clipboard (CSV)" 2716 ' 2717 'mnuExportTotalsToTSV 2718 ' 2719 Me.mnuExportTotalsToTSV.Name = "mnuExportTotalsToTSV" 2720 Me.mnuExportTotalsToTSV.Size = New System.Drawing.Size(281, 22) 2721 Me.mnuExportTotalsToTSV.Text = "Copy Recycling Totals to Clipboard (TSV)" 2722 ' 2673 2723 'chkFeesOnItems 2674 2724 ' … … 3148 3198 Me.ctxRecycleItems.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAddRecycleItem}) 3149 3199 Me.ctxRecycleItems.Name = "ctxRecycleItem" 3150 Me.ctxRecycleItems.Size = New System.Drawing.Size(1 24, 26)3200 Me.ctxRecycleItems.Size = New System.Drawing.Size(130, 26) 3151 3201 ' 3152 3202 'mnuAddRecycleItem 3153 3203 ' 3154 3204 Me.mnuAddRecycleItem.Name = "mnuAddRecycleItem" 3155 Me.mnuAddRecycleItem.Size = New System.Drawing.Size(12 3, 22)3205 Me.mnuAddRecycleItem.Size = New System.Drawing.Size(129, 22) 3156 3206 Me.mnuAddRecycleItem.Text = "Add Item" 3157 3207 ' … … 3160 3210 Me.ctxRecycleItem.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAlterRecycleQuantity, Me.ToolStripMenuItem2, Me.mnuRemoveRecycleItem}) 3161 3211 Me.ctxRecycleItem.Name = "ctxRecycleItem" 3162 Me.ctxRecycleItem.Size = New System.Drawing.Size(1 49, 54)3212 Me.ctxRecycleItem.Size = New System.Drawing.Size(154, 54) 3163 3213 ' 3164 3214 'mnuAlterRecycleQuantity 3165 3215 ' 3166 3216 Me.mnuAlterRecycleQuantity.Name = "mnuAlterRecycleQuantity" 3167 Me.mnuAlterRecycleQuantity.Size = New System.Drawing.Size(1 48, 22)3217 Me.mnuAlterRecycleQuantity.Size = New System.Drawing.Size(153, 22) 3168 3218 Me.mnuAlterRecycleQuantity.Text = "Alter Quantity" 3169 3219 ' … … 3171 3221 ' 3172 3222 Me.ToolStripMenuItem2.Name = "ToolStripMenuItem2" 3173 Me.ToolStripMenuItem2.Size = New System.Drawing.Size(1 45, 6)3223 Me.ToolStripMenuItem2.Size = New System.Drawing.Size(150, 6) 3174 3224 ' 3175 3225 'mnuRemoveRecycleItem 3176 3226 ' 3177 3227 Me.mnuRemoveRecycleItem.Name = "mnuRemoveRecycleItem" 3178 Me.mnuRemoveRecycleItem.Size = New System.Drawing.Size(1 48, 22)3228 Me.mnuRemoveRecycleItem.Size = New System.Drawing.Size(153, 22) 3179 3229 Me.mnuRemoveRecycleItem.Text = "Remove Item" 3180 3230 ' … … 3652 3702 Me.ctxBPManager.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuSendToBPCalc, Me.ToolStripMenuItem4, Me.mnuAmendBPDetails, Me.mnuRemoveCustomBP}) 3653 3703 Me.ctxBPManager.Name = "ctxBPManager" 3654 Me.ctxBPManager.Size = New System.Drawing.Size(2 23, 76)3704 Me.ctxBPManager.Size = New System.Drawing.Size(219, 76) 3655 3705 ' 3656 3706 'mnuSendToBPCalc 3657 3707 ' 3658 3708 Me.mnuSendToBPCalc.Name = "mnuSendToBPCalc" 3659 Me.mnuSendToBPCalc.Size = New System.Drawing.Size(2 22, 22)3709 Me.mnuSendToBPCalc.Size = New System.Drawing.Size(218, 22) 3660 3710 Me.mnuSendToBPCalc.Text = "Send to Blueprint Calculator" 3661 3711 ' … … 3663 3713 ' 3664 3714 Me.ToolStripMenuItem4.Name = "ToolStripMenuItem4" 3665 Me.ToolStripMenuItem4.Size = New System.Drawing.Size(21 9, 6)3715 Me.ToolStripMenuItem4.Size = New System.Drawing.Size(215, 6) 3666 3716 ' 3667 3717 'mnuAmendBPDetails 3668 3718 ' 3669 3719 Me.mnuAmendBPDetails.Name = "mnuAmendBPDetails" 3670 Me.mnuAmendBPDetails.Size = New System.Drawing.Size(2 22, 22)3720 Me.mnuAmendBPDetails.Size = New System.Drawing.Size(218, 22) 3671 3721 Me.mnuAmendBPDetails.Text = "Amend Blueprint Details" 3672 3722 ' … … 3674 3724 ' 3675 3725 Me.mnuRemoveCustomBP.Name = "mnuRemoveCustomBP" 3676 Me.mnuRemoveCustomBP.Size = New System.Drawing.Size(2 22, 22)3726 Me.mnuRemoveCustomBP.Size = New System.Drawing.Size(218, 22) 3677 3727 Me.mnuRemoveCustomBP.Text = "Remove Custom Blueprint" 3678 3728 ' … … 3689 3739 ' 3690 3740 Me.tssLabelTotalAssetsLabel.Name = "tssLabelTotalAssetsLabel" 3691 Me.tssLabelTotalAssetsLabel.Size = New System.Drawing.Size(1 54, 17)3741 Me.tssLabelTotalAssetsLabel.Size = New System.Drawing.Size(143, 17) 3692 3742 Me.tssLabelTotalAssetsLabel.Text = "Total Displayed Asset Value:" 3693 3743 ' … … 3704 3754 ' 3705 3755 Me.tssLabelSelectedAssetsLabel.Name = "tssLabelSelectedAssetsLabel" 3706 Me.tssLabelSelectedAssetsLabel.Size = New System.Drawing.Size(1 62, 17)3756 Me.tssLabelSelectedAssetsLabel.Size = New System.Drawing.Size(153, 17) 3707 3757 Me.tssLabelSelectedAssetsLabel.Text = " Total Selected Asset Value:" 3708 3758 ' … … 3907 3957 ' 3908 3958 Me.mnuLocation.Name = "mnuLocation" 3909 Me.mnuLocation.Size = New System.Drawing.Size(1 73, 22)3959 Me.mnuLocation.Size = New System.Drawing.Size(184, 22) 3910 3960 Me.mnuLocation.Text = "Grouped by Location" 3911 3961 ' … … 3914 3964 Me.mnuAssetLists.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAssetListName, Me.mnuAssetListQuantity, Me.mnuAssetListPrice, Me.mnuAssetListValue}) 3915 3965 Me.mnuAssetLists.Name = "mnuAssetLists" 3916 Me.mnuAssetLists.Size = New System.Drawing.Size(1 73, 22)3966 Me.mnuAssetLists.Size = New System.Drawing.Size(184, 22) 3917 3967 Me.mnuAssetLists.Text = "Asset Lists" 3918 3968 ' … … 3920 3970 ' 3921 3971 Me.mnuAssetListName.Name = "mnuAssetListName" 3922 Me.mnuAssetListName.Size = New System.Drawing.Size(1 84, 22)3972 Me.mnuAssetListName.Size = New System.Drawing.Size(195, 22) 3923 3973 Me.mnuAssetListName.Text = "Asset List (Name)" 3924 3974 ' … … 3927 3977 Me.mnuAssetListQuantity.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAssetListQuantityA, Me.mnuAssetListQuantityD}) 3928 3978 Me.mnuAssetListQuantity.Name = "mnuAssetListQuantity" 3929 Me.mnuAssetListQuantity.Size = New System.Drawing.Size(1 84, 22)3979 Me.mnuAssetListQuantity.Size = New System.Drawing.Size(195, 22) 3930 3980 Me.mnuAssetListQuantity.Text = "Asset List (Quantity)" 3931 3981 ' … … 3933 3983 ' 3934 3984 Me.mnuAssetListQuantityA.Name = "mnuAssetListQuantityA" 3935 Me.mnuAssetListQuantityA.Size = New System.Drawing.Size(1 29, 22)3985 Me.mnuAssetListQuantityA.Size = New System.Drawing.Size(140, 22) 3936 3986 Me.mnuAssetListQuantityA.Text = "Ascending" 3937 3987 ' … … 3939 3989 ' 3940 3990 Me.mnuAssetListQuantityD.Name = "mnuAssetListQuantityD" 3941 Me.mnuAssetListQuantityD.Size = New System.Drawing.Size(1 29, 22)3991 Me.mnuAssetListQuantityD.Size = New System.Drawing.Size(140, 22) 3942 3992 Me.mnuAssetListQuantityD.Text = "Descending" 3943 3993 ' … … 3946 3996 Me.mnuAssetListPrice.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAssetListPriceA, Me.mnuAssetListPriceD}) 3947 3997 Me.mnuAssetListPrice.Name = "mnuAssetListPrice" 3948 Me.mnuAssetListPrice.Size = New System.Drawing.Size(1 84, 22)3998 Me.mnuAssetListPrice.Size = New System.Drawing.Size(195, 22) 3949 3999 Me.mnuAssetListPrice.Text = "Asset List (Unit Price)" 3950 4000 ' … … 3952 4002 ' 3953 4003 Me.mnuAssetListPriceA.Name = "mnuAssetListPriceA" 3954 Me.mnuAssetListPriceA.Size = New System.Drawing.Size(1 29, 22)4004 Me.mnuAssetListPriceA.Size = New System.Drawing.Size(140, 22) 3955 4005 Me.mnuAssetListPriceA.Text = "Ascending" 3956 4006 ' … … 3958 4008 ' 3959 4009 Me.mnuAssetListPriceD.Name = "mnuAssetListPriceD" 3960 Me.mnuAssetListPriceD.Size = New System.Drawing.Size(1 29, 22)4010 Me.mnuAssetListPriceD.Size = New System.Drawing.Size(140, 22) 3961 4011 Me.mnuAssetListPriceD.Text = "Descending" 3962 4012 ' … … 3965 4015 Me.mnuAssetListValue.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAssetListValueA, Me.mnuAssetListValueD}) 3966 4016 Me.mnuAssetListValue.Name = "mnuAssetListValue" 3967 Me.mnuAssetListValue.Size = New System.Drawing.Size(1 84, 22)4017 Me.mnuAssetListValue.Size = New System.Drawing.Size(195, 22) 3968 4018 Me.mnuAssetListValue.Text = "Asset List (Total Value)" 3969 4019 ' … … 3971 4021 ' 3972 4022 Me.mnuAssetListValueA.Name = "mnuAssetListValueA" 3973 Me.mnuAssetListValueA.Size = New System.Drawing.Size(1 29, 22)4023 Me.mnuAssetListValueA.Size = New System.Drawing.Size(140, 22) 3974 4024 Me.mnuAssetListValueA.Text = "Ascending" 3975 4025 ' … … 3977 4027 ' 3978 4028 Me.mnuAssetListValueD.Name = "mnuAssetListValueD" 3979 Me.mnuAssetListValueD.Size = New System.Drawing.Size(1 29, 22)4029 Me.mnuAssetListValueD.Size = New System.Drawing.Size(140, 22) 3980 4030 Me.mnuAssetListValueD.Text = "Descending" 3981 4031 ' … … 4048 4098 Me.ColumnHeader12.Width = 119 4049 4099 ' 4050 'btnExport 4051 ' 4052 Me.btnExport.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) 4053 Me.btnExport.AutoSize = True 4054 Me.btnExport.ContextMenuStrip = Me.ctxRecycleExport 4055 Me.btnExport.Location = New System.Drawing.Point(1030, 520) 4056 Me.btnExport.Name = "btnExport" 4057 Me.btnExport.Size = New System.Drawing.Size(100, 23) 4058 Me.btnExport.SplitMenu = Me.ctxRecycleExport 4059 Me.btnExport.TabIndex = 62 4060 Me.btnExport.Text = "Export" 4061 Me.btnExport.UseVisualStyleBackColor = True 4062 ' 4063 'ctxRecycleExport 4064 ' 4065 Me.ctxRecycleExport.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuExportToCSV, Me.mnuExportToTSV, Me.ToolStripMenuItem5, Me.mnuExportTotalsToCSV, Me.mnuExportTotalsToTSV}) 4066 Me.ctxRecycleExport.Name = "ctxResourceExport" 4067 Me.ctxRecycleExport.Size = New System.Drawing.Size(293, 120) 4068 ' 4069 'mnuExportToCSV 4070 ' 4071 Me.mnuExportToCSV.Name = "mnuExportToCSV" 4072 Me.mnuExportToCSV.Size = New System.Drawing.Size(292, 22) 4073 Me.mnuExportToCSV.Text = "Copy Recycling Data to Clipboard (CSV)" 4074 ' 4075 'mnuExportToTSV 4076 ' 4077 Me.mnuExportToTSV.Name = "mnuExportToTSV" 4078 Me.mnuExportToTSV.Size = New System.Drawing.Size(292, 22) 4079 Me.mnuExportToTSV.Text = "Copy Recycling Data to Clipboard (TSV)" 4080 ' 4081 'ToolStripMenuItem5 4082 ' 4083 Me.ToolStripMenuItem5.Name = "ToolStripMenuItem5" 4084 Me.ToolStripMenuItem5.Size = New System.Drawing.Size(289, 6) 4085 ' 4086 'mnuExportTotalsToCSV 4087 ' 4088 Me.mnuExportTotalsToCSV.Name = "mnuExportTotalsToCSV" 4089 Me.mnuExportTotalsToCSV.Size = New System.Drawing.Size(292, 22) 4090 Me.mnuExportTotalsToCSV.Text = "Copy Recycling Totals to Clipboard (CSV)" 4091 ' 4092 'mnuExportTotalsToTSV 4093 ' 4094 Me.mnuExportTotalsToTSV.Name = "mnuExportTotalsToTSV" 4095 Me.mnuExportTotalsToTSV.Size = New System.Drawing.Size(292, 22) 4096 Me.mnuExportTotalsToTSV.Text = "Copy Recycling Totals to Clipboard (TSV)" 4100 'chkCorpHangarMode 4101 ' 4102 Me.chkCorpHangarMode.AutoSize = True 4103 Me.chkCorpHangarMode.Checked = True 4104 Me.chkCorpHangarMode.CheckState = System.Windows.Forms.CheckState.Checked 4105 Me.chkCorpHangarMode.Location = New System.Drawing.Point(171, 10) 4106 Me.chkCorpHangarMode.Name = "chkCorpHangarMode" 4107 Me.chkCorpHangarMode.Size = New System.Drawing.Size(116, 17) 4108 Me.chkCorpHangarMode.TabIndex = 30 4109 Me.chkCorpHangarMode.Text = "Corp Hangar Mode" 4110 Me.chkCorpHangarMode.UseVisualStyleBackColor = True 4097 4111 ' 4098 4112 'frmPrism … … 4147 4161 Me.tabRecycle.ResumeLayout(False) 4148 4162 Me.tabRecycle.PerformLayout() 4163 Me.ctxRecycleExport.ResumeLayout(False) 4149 4164 CType(Me.nudTax, System.ComponentModel.ISupportInitialize).EndInit() 4150 4165 CType(Me.nudBrokerFee, System.ComponentModel.ISupportInitialize).EndInit() … … 4169 4184 Me.ToolStrip1.ResumeLayout(False) 4170 4185 Me.ToolStrip1.PerformLayout() 4171 Me.ctxRecycleExport.ResumeLayout(False)4172 4186 Me.ResumeLayout(False) 4173 4187 Me.PerformLayout() … … 4561 4575 Friend WithEvents mnuExportTotalsToCSV As System.Windows.Forms.ToolStripMenuItem 4562 4576 Friend WithEvents mnuExportTotalsToTSV As System.Windows.Forms.ToolStripMenuItem 4577 Friend WithEvents chkCorpHangarMode As System.Windows.Forms.CheckBox 4563 4578 End Class -
branches/EveHQv2/EveHQ.Prism/Forms/frmPrism.resx
r1055 r1254 130 130 <value>546, 17</value> 131 131 </metadata> 132 <metadata name="ctxAPIStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 133 <value>17, 54</value> 134 </metadata> 132 135 <metadata name="ctxRecycleExport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 133 136 <value>136, 54</value> 134 </metadata>135 <metadata name="ctxAPIStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">136 <value>17, 54</value>137 137 </metadata> 138 138 <metadata name="ctxRecycleItems.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> -
branches/EveHQv2/EveHQ.Prism/Forms/frmPrism.vb
r1187 r1254 54 54 Dim totalAssetBatch As Long = 0 55 55 Dim HQFShip As New ArrayList 56 Dim assetCorpMode As Boolean = False 56 57 Dim IndustryTimeFormat As String = "yyyy-MM-dd HH:mm:ss" 57 58 Dim culture As System.Globalization.CultureInfo = New System.Globalization.CultureInfo("en-GB") … … 806 807 Dim rep As String = "" 807 808 Dim IsCorp As Boolean = False 809 assetCorpMode = False 808 810 ' See if this owner is a corp 809 811 If PlugInData.CorpList.ContainsKey(owner) = True Then 810 812 IsCorp = True 813 assetCorpMode = chkCorpHangarMode.Checked 811 814 ' See if we have a representative 812 815 Dim CorpRep As SortedList = CType(PlugInData.CorpReps(0), Collections.SortedList) … … 969 972 linePrice = 0 970 973 Else 971 newAsset.SubItems(AssetColumn.Price).Text = FormatNumber(Math.Round(EveHQ.Core.DataFunctions.GetPrice(itemID), 2), 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 972 If IsNumeric(newAsset.SubItems(8).Text) = True Then 973 linePrice = CDbl(newAsset.SubItems(7).Text) * CDbl(newAsset.SubItems(8).Text) 974 ' Check with BP Manager if this is a BPO 975 Dim IsBPO As Boolean = True 976 If PlugInData.BlueprintAssets.ContainsKey(owner) = True Then 977 If PlugInData.BlueprintAssets(owner).ContainsKey(newAsset.Tag.ToString) = True Then 978 Dim chkBPO As BlueprintAsset = PlugInData.BlueprintAssets(owner).Item(newAsset.Tag.ToString) 979 If chkBPO.Runs > -1 Or chkBPO.BPType = BPType.Unknown Then 980 IsBPO = False 981 If chkBPO.BPType <> BPType.Unknown Then 982 newAsset.Text = newAsset.Text.Replace("Blueprint", "BPC") 983 End If 984 Else 985 newAsset.Text = newAsset.Text.Replace("Blueprint", "BPO") 986 End If 987 End If 988 End If 989 If IsBPO = True Then 990 newAsset.SubItems(AssetColumn.Price).Text = FormatNumber(Math.Round(EveHQ.Core.DataFunctions.GetPrice(itemID), 2), 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 991 If IsNumeric(newAsset.SubItems(AssetColumn.Price).Text) = True Then 992 linePrice = CDbl(newAsset.SubItems(AssetColumn.Quantity).Text) * CDbl(newAsset.SubItems(AssetColumn.Price).Text) 993 Else 994 linePrice = 0 995 End If 974 996 Else 997 newAsset.SubItems(AssetColumn.Price).Text = FormatNumber(0, 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 975 998 linePrice = 0 976 999 End If … … 1028 1051 Dim subLoc As XmlNode 1029 1052 Dim containerPrice As Double = 0 1053 Dim AssetIsInHanger As Boolean = False 1054 Dim hangarPrice As Double = 0 1030 1055 Dim linePrice As Double = 0 1031 1056 subLocList = loc.ChildNodes(0).ChildNodes … … 1077 1102 Dim subAsset As New ContainerListViewItem 1078 1103 subAsset.Tag = subLoc.Attributes.GetNamedItem("itemID").Value 1079 parentAsset.Items.Add(subAsset) 1104 Dim subFlagID As Integer = CInt(subLoc.Attributes.GetNamedItem("flag").Value) 1105 Dim subFlagName As String = PlugInData.itemFlags(subFlagID).ToString 1106 Dim accountID As Integer = subFlagID + 885 1107 If accountID = 889 Then accountID = 1000 1108 If assetOwner = selPilot.Corp And groupName <> "Station Services" Then 1109 If divisions.ContainsKey(selPilot.CorpID & "_" & accountID.ToString) = True Then 1110 subFlagName = CStr(divisions.Item(selPilot.CorpID & "_" & accountID.ToString)) 1111 If assetCorpMode = True And parentAsset.Items.Count < 7 Then 1112 ' Build the corp division nodes 1113 For div As Integer = 0 To 6 1114 Dim hangar As New ContainerListViewItem 1115 hangar.Text = CStr(divisions.Item(selPilot.CorpID & "_" & (1000 + div).ToString)) 1116 parentAsset.Items.Add(hangar) 1117 hangar.SubItems(AssetColumn.Value).Text = FormatNumber(0, 2) 1118 Next 1119 End If 1120 End If 1121 End If 1122 If assetCorpMode = True And (subFlagID = 4 Or (subFlagID >= 116 And subFlagID <= 121)) Then 1123 parentAsset.Items(accountID - 1000).Items.Add(subAsset) 1124 AssetIsInHanger = True 1125 Else 1126 parentAsset.Items.Add(subAsset) 1127 AssetIsInHanger = False 1128 End If 1080 1129 subAsset.SubItems(0).Tag = itemName 1081 1130 If PlugInData.AssetItemNames.ContainsKey(subAsset.Tag.ToString) = True Then … … 1087 1136 subAsset.SubItems(AssetColumn.Group).Text = groupName 1088 1137 subAsset.SubItems(AssetColumn.Category).Text = catName 1089 Dim subFlagID As Integer = CInt(subLoc.Attributes.GetNamedItem("flag").Value)1090 Dim subFlagName As String = PlugInData.itemFlags(subFlagID).ToString1091 If assetOwner = selPilot.Corp And subAsset.SubItems(2).Text <> "Station Services" Then1092 Dim accountID As Integer = subFlagID + 8851093 If accountID = 889 Then accountID = 10001094 If divisions.ContainsKey(selPilot.CorpID & "_" & accountID.ToString) = True Then1095 subFlagName = CStr(divisions.Item(selPilot.CorpID & "_" & accountID.ToString))1096 End If1097 End If1098 1138 subAsset.SubItems(AssetColumn.Location).Text = subFlagName 1099 1139 subAsset.SubItems(AssetColumn.Meta).Text = metaLevel … … 1104 1144 linePrice = 0 1105 1145 Else 1106 subAsset.SubItems(AssetColumn.Price).Text = FormatNumber(Math.Round(EveHQ.Core.DataFunctions.GetPrice(ItemID), 2), 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 1107 If IsNumeric(subAsset.SubItems(AssetColumn.Price).Text) = True Then 1108 linePrice = CDbl(subAsset.SubItems(AssetColumn.Quantity).Text) * CDbl(subAsset.SubItems(AssetColumn.Price).Text) 1146 ' Check with BP Manager if this is a BPO 1147 Dim IsBPO As Boolean = True 1148 If PlugInData.BlueprintAssets.ContainsKey(assetOwner) = True Then 1149 If PlugInData.BlueprintAssets(assetOwner).ContainsKey(subAsset.Tag.ToString) = True Then 1150 Dim chkBPO As BlueprintAsset = PlugInData.BlueprintAssets(assetOwner).Item(subAsset.Tag.ToString) 1151 If chkBPO.Runs > -1 Or chkBPO.BPType = BPType.Unknown Then 1152 IsBPO = False 1153 If chkBPO.BPType <> BPType.Unknown Then 1154 subAsset.Text = subAsset.Text.Replace("Blueprint", "BPC") 1155 End If 1156 Else 1157 subAsset.Text = subAsset.Text.Replace("Blueprint", "BPO") 1158 End If 1159 End If 1160 End If 1161 If IsBPO = True Then 1162 subAsset.SubItems(AssetColumn.Price).Text = FormatNumber(Math.Round(EveHQ.Core.DataFunctions.GetPrice(ItemID), 2), 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 1163 If IsNumeric(subAsset.SubItems(AssetColumn.Price).Text) = True Then 1164 linePrice = CDbl(subAsset.SubItems(AssetColumn.Quantity).Text) * CDbl(subAsset.SubItems(AssetColumn.Price).Text) 1165 Else 1166 linePrice = 0 1167 subAsset.SubItems(AssetColumn.Price).Text = FormatNumber(0, 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 1168 End If 1109 1169 Else 1110 1170 linePrice = 0 1111 subAsset.SubItems(AssetColumn.Price).Text = FormatNumber( linePrice, 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault)1171 subAsset.SubItems(AssetColumn.Price).Text = FormatNumber(0, 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 1112 1172 End If 1113 1173 End If 1114 1174 containerPrice += linePrice 1115 1175 subAsset.SubItems(AssetColumn.Value).Text = FormatNumber(linePrice, 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 1176 1177 ' Update hangar price if applicable 1178 If AssetIsInHanger = True Then 1179 hangarPrice = CDbl(subAsset.ParentItem.SubItems(AssetColumn.Value).Text) 1180 subAsset.ParentItem.SubItems(AssetColumn.Value).Text = FormatNumber(hangarPrice + linePrice, 2) 1181 End If 1116 1182 1117 1183 ' Add the asset to the list of assets … … 5493 5559 newBPItem.Tag = BP.AssetID 5494 5560 clvBlueprints.Items.Add(newBPItem) 5495 5496 5561 newBPItem.SubItems(3).Text = BPData.TechLevel.ToString 5497 newBPItem.SubItems(4).Text = FormatNumber(BP.MELevel, 0) 5498 newBPItem.SubItems(5).Text = FormatNumber(BP.PELevel, 0) 5499 Select Case BP.BPType 5500 Case BPType.Unknown ' Undetermined 5501 newBPItem.SubItems(1).Text = LocationName 5502 newBPItem.SubItems(2).Text = BP.LocationDetails 5503 newBPItem.SubItems(6).Text = "Unknown" 5504 newBPItem.SubItems(6).Tag = BP.Runs 5505 newBPItem.BackColor = Drawing.Color.LightGray 5506 Case BPType.BPO ' BPO 5507 newBPItem.SubItems(1).Text = LocationName 5508 newBPItem.SubItems(2).Text = BP.LocationDetails 5509 newBPItem.SubItems(6).Text = "BPO" 5510 newBPItem.SubItems(6).Tag = 1000000 5511 newBPItem.BackColor = Drawing.Color.LightGreen 5512 Case BPType.BPC ' BPC 5513 newBPItem.SubItems(1).Text = LocationName 5514 newBPItem.SubItems(2).Text = BP.LocationDetails 5515 newBPItem.SubItems(6).Text = FormatNumber(BP.Runs, 0) 5516 newBPItem.SubItems(6).Tag = BP.Runs 5517 newBPItem.BackColor = Drawing.Color.LightSteelBlue 5518 Case BPType.User 5519 newBPItem.SubItems(1).Text = owner & "'s Secret BP Stash" 5520 newBPItem.SubItems(2).Text = owner & "'s Secret BP Stash" 5521 newBPItem.SubItems(6).Text = "BPO" 5522 newBPItem.SubItems(6).Tag = 1000000 5523 newBPItem.BackColor = Drawing.Color.Yellow 5524 End Select 5525 newBPItem.SubItems(7).Text = [Enum].GetName(GetType(BPStatus), BP.Status) 5526 newBPItem.SubItems(7).Tag = BP.Status 5527 Select Case BP.Status 5528 Case BPStatus.Missing 5529 newBPItem.BackColor = Drawing.Color.LightCoral 5530 Case BPStatus.Exhausted 5531 newBPItem.BackColor = Drawing.Color.Orange 5532 End Select 5562 Call UpdateOwnerBPItem(owner, LocationName, BP, newBPItem) 5533 5563 End If 5534 5564 End If … … 5540 5570 clvBlueprints.EndUpdate() 5541 5571 End If 5572 End Sub 5573 Private Sub UpdateOwnerBPItem(ByVal Owner As String, ByVal LocationName As String, ByVal BP As BlueprintAsset, ByVal newBPItem As ContainerListViewItem) 5574 newBPItem.SubItems(4).Text = FormatNumber(BP.MELevel, 0) 5575 newBPItem.SubItems(5).Text = FormatNumber(BP.PELevel, 0) 5576 Select Case BP.BPType 5577 Case BPType.Unknown ' Undetermined 5578 newBPItem.SubItems(1).Text = LocationName 5579 newBPItem.SubItems(2).Text = BP.LocationDetails 5580 newBPItem.SubItems(6).Text = "Unknown" 5581 newBPItem.SubItems(6).Tag = BP.Runs 5582 newBPItem.BackColor = Drawing.Color.LightGray 5583 Case BPType.BPO ' BPO 5584 newBPItem.SubItems(1).Text = LocationName 5585 newBPItem.SubItems(2).Text = BP.LocationDetails 5586 newBPItem.SubItems(6).Text = "BPO" 5587 newBPItem.SubItems(6).Tag = 1000000 5588 newBPItem.BackColor = Drawing.Color.LightGreen 5589 Case BPType.BPC ' BPC 5590 newBPItem.SubItems(1).Text = LocationName 5591 newBPItem.SubItems(2).Text = BP.LocationDetails 5592 newBPItem.SubItems(6).Text = FormatNumber(BP.Runs, 0) 5593 newBPItem.SubItems(6).Tag = BP.Runs 5594 newBPItem.BackColor = Drawing.Color.LightSteelBlue 5595 Case BPType.User 5596 newBPItem.SubItems(1).Text = Owner & "'s Secret BP Stash" 5597 newBPItem.SubItems(2).Text = Owner & "'s Secret BP Stash" 5598 newBPItem.SubItems(6).Text = "BPO" 5599 newBPItem.SubItems(6).Tag = 1000000 5600 newBPItem.BackColor = Drawing.Color.Yellow 5601 End Select 5602 newBPItem.SubItems(7).Text = [Enum].GetName(GetType(BPStatus), BP.Status) 5603 newBPItem.SubItems(7).Tag = BP.Status 5604 Select Case BP.Status 5605 Case BPStatus.Missing 5606 newBPItem.BackColor = Drawing.Color.LightCoral 5607 Case BPStatus.Exhausted 5608 newBPItem.BackColor = Drawing.Color.Orange 5609 End Select 5542 5610 End Sub 5543 5611 … … 5595 5663 Dim flagID As Integer = CInt(loc.Attributes.GetNamedItem("flag").Value) 5596 5664 Dim locationDetails As String = PlugInData.itemFlags(flagID).ToString 5597 5598 5665 ' Check the asset 5599 5666 Dim ItemData As New EveHQ.Core.EveItem … … 5604 5671 If EveHQ.Core.HQ.itemData.ContainsKey(itemID) Then 5605 5672 ItemData = EveHQ.Core.HQ.itemData(itemID) 5673 If flagID = 0 Then 5674 If PlugInData.AssetItemNames.ContainsKey(AssetID) = True Then 5675 locationDetails = PlugInData.AssetItemNames(AssetID) 5676 Else 5677 locationDetails = ItemData.Name 5678 End If 5679 End If 5606 5680 If categories.Contains(ItemData.Category) Or groups.Contains(ItemData.Group) Or types.Contains(ItemData.ID) Then 5607 5681 Dim newBP As New BlueprintAsset … … 5714 5788 End If 5715 5789 End If 5716 End If5790 End If 5717 5791 End Function 5718 5792 Private Sub GetAssetFromNode(ByVal loc As XmlNode, ByVal categories As ArrayList, ByVal groups As ArrayList, ByVal types As ArrayList, ByRef Assets As SortedList(Of String, BlueprintAsset), ByVal locationID As String, ByVal locationDetails As String, ByVal selPilot As EveHQ.Core.Pilot, ByVal IsCorp As Boolean) … … 5759 5833 ' Check child items if they exist 5760 5834 If item.ChildNodes.Count > 0 Then 5761 Call GetAssetFromNode(item, categories, groups, types, Assets, locationID, flag name, selPilot, IsCorp)5835 Call GetAssetFromNode(item, categories, groups, types, Assets, locationID, flagName, selPilot, IsCorp) 5762 5836 End If 5763 5837 Next … … 5923 5997 Else 5924 5998 mnuSendToBPCalc.Enabled = False 5925 mnuRemoveCustomBP.Enabled = False 5926 End If 5927 mnuAmendBPDetails.Enabled = chkShowOwnedBPs.Checked 5999 mnuRemoveCustomBP.Text = "Remove Blueprints (" & clvBlueprints.SelectedItems.Count.ToString & ")" 6000 mnuRemoveCustomBP.Enabled = True 6001 End If 6002 mnuAmendBPDetails.Enabled = chkShowOwnedBPs.Checked 5928 6003 End Sub 5929 6004 … … 5969 6044 BPForm.AssetIDs = BPs 5970 6045 BPForm.ShowDialog() 5971 Call Me.UpdateBPList() 6046 ' Update the list using the details 6047 Dim BP As New BlueprintAsset 6048 Dim locationName As String = "" 6049 For Each selitem As ContainerListViewItem In clvBlueprints.SelectedItems 6050 BP = PlugInData.BlueprintAssets(BPForm.OwnerName).Item(selitem.Tag.ToString) 6051 LocationName = Me.GetLocationNameFromID(BP.LocationID) 6052 Call Me.UpdateOwnerBPItem(BPForm.OwnerName, locationName, BP, selitem) 6053 Next 5972 6054 End Sub 5973 6055 … … 5991 6073 Private Sub mnuRemoveCustomBP_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuRemoveCustomBP.Click 5992 6074 ' Remove the custom BP from the assets 5993 Dim assetID As String = CStr(clvBlueprints.SelectedItems(0).Tag) 5994 Dim BPOwner As String = cboOwner.SelectedItem.ToString 5995 If PlugInData.BlueprintAssets(BPOwner).ContainsKey(assetID) = True Then 5996 PlugInData.BlueprintAssets(BPOwner).Remove(assetID) 5997 Call Me.UpdateBPList() 6075 If clvBlueprints.SelectedItems.Count > 0 Then 6076 Dim rBP As New ContainerListViewItem 6077 Dim cIDX As Integer = clvBlueprints.SelectedItems.Count - 1 6078 Do 6079 rBP = clvBlueprints.SelectedItems(cIDX) 6080 Dim assetID As String = CStr(rBP.Tag) 6081 Dim BPOwner As String = cboOwner.SelectedItem.ToString 6082 If PlugInData.BlueprintAssets(BPOwner).ContainsKey(assetID) = True Then 6083 PlugInData.BlueprintAssets(BPOwner).Remove(assetID) 6084 clvBlueprints.Items.Remove(rBP) 6085 cIDX -= 1 6086 End If 6087 Loop Until cIDX = -1 6088 'Call Me.UpdateBPList() 5998 6089 End If 5999 6090 End Sub -
branches/EveHQv2/EveHQ.Prism/My Project/AssemblyInfo.vb
r1140 r1254 32 32 ' <Assembly: AssemblyVersion("1.0.*")> 33 33 34 <Assembly: AssemblyVersion("1.14.0.1 140")>35 <Assembly: AssemblyFileVersion("1.14.0.1 140")>34 <Assembly: AssemblyVersion("1.14.0.1250")> 35 <Assembly: AssemblyFileVersion("1.14.0.1250")>
