Changeset 1260
- Timestamp:
- 1/20/2010 4:59:30 AM (8 weeks ago)
- Location:
- trunk/EveHQ.Prism
- Files:
-
- 2 modified
-
Forms/frmPrism.vb (modified) (3 diffs)
-
My Project/AssemblyInfo.vb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/EveHQ.Prism/Forms/frmPrism.vb
r1255 r1260 836 836 Dim locList As XmlNodeList 837 837 Dim loc As XmlNode 838 Dim AssetIsInHanger As Boolean = False839 Dim hangarPrice As Double = 0840 838 locList = assetXML.SelectNodes("/eveapi/result/rowset/row") 841 839 If locList.Count > 0 Then 842 840 Dim linePrice As Double = 0 843 841 Dim containerPrice As Double = 0 842 Dim AssetIsInHanger As Boolean = False 843 Dim hangarPrice As Double = 0 844 844 For Each loc In locList 845 845 ' Check if the location is already listed … … 1020 1020 newAsset.SubItems(AssetColumn.Value).Text = FormatNumber(linePrice, 2, TriState.UseDefault, TriState.UseDefault, TriState.UseDefault) 1021 1021 1022 ' Update hangar price if applicable1023 If AssetIsInHanger = True Then1024 hangarPrice = CDbl(newAsset.ParentItem.SubItems(AssetColumn.Value).Text)1025 newAsset.ParentItem.SubItems(AssetColumn.Value).Text = FormatNumber(hangarPrice + linePrice, 2)1026 End If1027 1028 1022 ' Add the asset to the list of assets 1029 1023 Dim newAssetList As New AssetItem … … 1044 1038 If loc.HasChildNodes = True Then 1045 1039 Call Me.PopulateAssetNode(newAsset, loc, owner, locNode.Text, selPilot) 1040 End If 1041 1042 ' Update hangar price if applicable 1043 If AssetIsInHanger = True Then 1044 hangarPrice = CDbl(newAsset.ParentItem.SubItems(AssetColumn.Value).Text) 1045 newAsset.ParentItem.SubItems(AssetColumn.Value).Text = FormatNumber(hangarPrice + CDbl(newAsset.SubItems(AssetColumn.Value).Text), 2) 1046 1046 End If 1047 1047 Next -
trunk/EveHQ.Prism/My Project/AssemblyInfo.vb
r1257 r1260 32 32 ' <Assembly: AssemblyVersion("1.0.*")> 33 33 34 <Assembly: AssemblyVersion("1.14.0.12 57")>35 <Assembly: AssemblyFileVersion("1.14.0.12 57")>34 <Assembly: AssemblyVersion("1.14.0.1260")> 35 <Assembly: AssemblyFileVersion("1.14.0.1260")>
