003452a8e3
- modifiche varie.
39 lines
2.1 KiB
XML
39 lines
2.1 KiB
XML
<UserControl x:Class="TopCommandBarView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<!--Barra superiore dei comandi-->
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
<Button Command="{Binding NewCommand}" ToolTip="{Binding NewToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/New.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding OpenCommand}" ToolTip="{Binding OpenToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/Open.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding SaveCommand}" ToolTip="{Binding SaveToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/Save.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding SaveAsCommand}" ToolTip="{Binding SaveAsToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/SaveAs.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding InsertCommand}" ToolTip="{Binding InsertToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/Insert.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding ImportCommand}" ToolTip="{Binding ImportToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/Import.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding ExportCommand}" ToolTip="{Binding ExportToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/Export.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Background="LightGray"/>
|
|
<Button Command="{Binding ExecCommand}" ToolTip="{Binding ExecToolTip}">
|
|
<Image Source="/Resources/TopCommandBar/Exec.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" Background="LightGray"/>
|
|
<Button Content="DOORS" Command="{Binding DoorsCommand}"/>
|
|
<Button Content="DMACH" Command="{Binding DMachCommand}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|