a02663d88e
- è stato aggiunto il comando "template" che permette di salvare la porta corrente come porta template (con estensione .ddt); - durante la creazione di una nuova porta è possibile caricare un file .ddt come nuova porta; - la creazione di un file .ddt in qualsiasi momento non influenza la creazione del file .ddf corrente.
38 lines
1.9 KiB
XML
38 lines
1.9 KiB
XML
<UserControl x:Class="ProjectManagerView"
|
|
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">
|
|
<Button Command="{Binding NewCommand}" ToolTip="{Binding NewToolTip}" Focusable="False">
|
|
<Image Source="/Resources/TopCommandBar/New.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding OpenCommand}" ToolTip="{Binding OpenToolTip}"
|
|
ContextMenuService.Placement="Bottom" Focusable="False">
|
|
<!--<Button.ContextMenu>
|
|
<ContextMenu ItemsSource="{Binding MruFileNames}" ItemContainerStyle="{StaticResource MruFileItem}">
|
|
</ContextMenu>
|
|
</Button.ContextMenu>-->
|
|
<Image Source="/Resources/TopCommandBar/Open.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding SaveCommand}" ToolTip="{Binding SaveToolTip}" Focusable="False">
|
|
<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 SendFeedbackCommand}" ToolTip="{Binding SendFeedbackToolTip}" Focusable="False">
|
|
<Image Source="/Resources/TopCommandBar/Send.png" Height="22" Margin="3,0,3,0" />
|
|
</Button>
|
|
<Button Command="{Binding OptionsCommand}" ToolTip="{Binding OptionsToolTip}" Focusable="False">
|
|
<Image Source="/Resources/TopCommandBar/Options.png" Height="22" />
|
|
</Button>
|
|
|
|
<!--creazione del bottone per la creazione di un template-->
|
|
<Button Command="{Binding CreateTemplateCommand}" Focusable="False">
|
|
<ContentControl>template</ContentControl>
|
|
</Button>
|
|
</StackPanel>
|
|
|
|
</UserControl>
|