EgtCAM5 :
- Migliorie varie.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
||||
<Button Content="New Layer" Command="{Binding NewLayerCommand}" Height="40"/>
|
||||
<Button Content="Color" Command="{Binding LayerColorCommand}" Height="40"/>
|
||||
</UniformGrid>
|
||||
<TreeView Name="LayerTreeView" Height="400"
|
||||
<TreeView Name="LayerTreeView" MaxHeight="400"
|
||||
ItemsSource="{Binding Path=LayerList}">
|
||||
<interactivity:Interaction.Triggers>
|
||||
<interactivity:EventTrigger EventName="MouseDoubleClick">
|
||||
|
||||
+2
-2
@@ -321,8 +321,8 @@ Namespace EgtCAM5
|
||||
Else
|
||||
sText = sTitle + " " + nId.ToString
|
||||
End If
|
||||
Dim CurrColor As Color3d
|
||||
EgtGetCalcColor(nGroupId, CurrColor)
|
||||
Dim CurrColor As New Color3d(0, 0, 0, 0)
|
||||
EgtGetColor(nId, CurrColor)
|
||||
Dim sImage As String = TypeToImageInObjTree(nType, nDepth)
|
||||
Dim CurrNod As LayerTreeViewItem = New LayerTreeViewItem(nId, sText, sImage, CurrColor)
|
||||
CurrNodColl.Add(CurrNod)
|
||||
|
||||
Reference in New Issue
Block a user