diff --git a/EgtBEAMWALL.ViewerOptimizer/BTLParam/BTLStructureVM.vb b/EgtBEAMWALL.ViewerOptimizer/BTLParam/BTLStructureVM.vb
index 6a0ec4f2..b145e4cb 100644
--- a/EgtBEAMWALL.ViewerOptimizer/BTLParam/BTLStructureVM.vb
+++ b/EgtBEAMWALL.ViewerOptimizer/BTLParam/BTLStructureVM.vb
@@ -489,44 +489,44 @@ Public Class BTLStructureVM
Public ReadOnly Property sBTLTotParts As String
Get
- Return Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.nCNT + x.nADDED)
+ Return m_BTLPartVMList.Sum(Function(x) x.nCNT + x.nADDED)
End Get
End Property
Public ReadOnly Property sBTLTotVolume As String
Get
- Dim dMMTotVolume As Double = Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.dUnitVolume * (x.nCNT + x.nADDED))
+ Dim dMMTotVolume As Double = m_BTLPartVMList.Sum(Function(x) x.dUnitVolume * (x.nCNT + x.nADDED))
Return If(EgtUiUnitsAreMM(), DoubleToString(dMMTotVolume / 1000000000, 3), DoubleToString(dMMTotVolume * (12 / ONEINCH), 3))
End Get
End Property
Public ReadOnly Property sBTLTotTime As String
Get
- Return TimeSpan.FromSeconds(Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.nCALC_TIME * (x.nCNT + x.nADDED))).ToString()
+ Return TimeSpan.FromSeconds(m_BTLPartVMList.Sum(Function(x) x.nCALC_TIME * (x.nCNT + x.nADDED))).ToString()
End Get
End Property
Public ReadOnly Property sTotCNTParts As String
Get
- Return Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.nCNT)
+ Return m_BTLPartVMList.Sum(Function(x) x.nCNT)
End Get
End Property
Public ReadOnly Property sTotADDEDParts As String
Get
- Return Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.nADDED)
+ Return m_BTLPartVMList.Sum(Function(x) x.nADDED)
End Get
End Property
Public ReadOnly Property sTotINPRODParts As String
Get
- Return Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.nINPROD)
+ Return m_BTLPartVMList.Sum(Function(x) x.nINPROD)
End Get
End Property
Public ReadOnly Property sTotDONEParts As String
Get
- Return Map.refProjectVM.BTLStructureVM.BTLPartVMList.Sum(Function(x) x.nDONE)
+ Return m_BTLPartVMList.Sum(Function(x) x.nDONE)
End Get
End Property
diff --git a/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelV.xaml b/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelV.xaml
index d98edf48..8a3d4080 100644
--- a/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelV.xaml
+++ b/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelV.xaml
@@ -6,17 +6,20 @@
IsRightDockable="False" Style="{StaticResource ToolBar_EgtFloatingPanel}">
+ IsEnabled="{Binding ShowSolid_IsEnabled}"
+ ToolTip="{Binding ShowSolid_ToolTip}">
+ IsEnabled="{Binding ShowBuilding_IsEnabled}"
+ ToolTip="{Binding ShowBuilding_ToolTip}">
diff --git a/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelVM.vb b/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelVM.vb
index 752b32b8..a45f3e16 100644
--- a/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelVM.vb
+++ b/EgtBEAMWALL.ViewerOptimizer/ShowBeamPanel/ShowBeamPanelVM.vb
@@ -7,27 +7,21 @@ Public Class ShowBeamPanelVM
#Region "ToolTip"
- Public ReadOnly Property RenderingWFToolTip As String
+ Public ReadOnly Property ShowAll_ToolTip As String
Get
- Return EgtMsg(MSG_GRIDVIEWPANEL + 1)
+ Return EgtMsg(61925)
End Get
End Property
- Public ReadOnly Property RenderingHLToolTip As String
+ Public ReadOnly Property ShowSolid_ToolTip As String
Get
- Return EgtMsg(MSG_GRIDVIEWPANEL + 2)
+ Return EgtMsg(61926)
End Get
End Property
- Public ReadOnly Property RenderingSHToolTip As String
+ Public ReadOnly Property ShowBuilding_ToolTip As String
Get
- Return EgtMsg(MSG_GRIDVIEWPANEL + 3)
- End Get
- End Property
-
- Public ReadOnly Property CurveDirToolTip As String
- Get
- Return EgtMsg(MSG_GRIDVIEWPANEL + 16)
+ Return EgtMsg(61927)
End Get
End Property
diff --git a/EgtBEAMWALL.ViewerOptimizer/TopPanel/TopPanelV.xaml b/EgtBEAMWALL.ViewerOptimizer/TopPanel/TopPanelV.xaml
index 4351c060..19b0a73b 100644
--- a/EgtBEAMWALL.ViewerOptimizer/TopPanel/TopPanelV.xaml
+++ b/EgtBEAMWALL.ViewerOptimizer/TopPanel/TopPanelV.xaml
@@ -38,6 +38,11 @@
ToolTip="{Binding ProduceAllRawPart_ToolTip}"
IsEnabled="{Binding TopPanel_IsEnabled}"
Style="{StaticResource LeftPanel_SmallButton}"/>
+