08237de2d8
- In UpdateLicencePage viene mostrato il nome del Prodotto della Licenza che si sta aggiornando - Ogni pulsante "Close" fa ritornare alla pagina precedente (Correzione simile per i vari pulsanti Update e New, mentre Delete rimane nella stessa pagina) - Correzione pulsanti del Main Menu (non hanno più la scritta "Cerca...") - I DataGrid non tagliano più l'ultima riga visibile ma si aggiustano in base al numero intero di righe visibili (implementato per tutte le pagine Search tranne che per Product per via di errori che non riesco a risolvere
112 lines
3.7 KiB
XML
112 lines
3.7 KiB
XML
<Grid x:Class="MainMenuV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
DataContext="{StaticResource MainMenuVM}">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border BorderBrush="Black"
|
|
BorderThickness="1"
|
|
Height="75"
|
|
Grid.Row="0">
|
|
<TextBlock Height="50"
|
|
Text="Main Menù"
|
|
FontSize="30"
|
|
TextAlignment="Center"/>
|
|
</Border>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<!--<Button Content="Nuovo cliente"
|
|
Command="{Binding NewClient_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="0"
|
|
Grid.Row="0"/>
|
|
<Button Content="Nuova chiave"
|
|
Command="{Binding NewKey_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="0"
|
|
Grid.Row="1"/>
|
|
<Button Content="Nuova licenza"
|
|
Command="{Binding NewLicence_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="0"
|
|
Grid.Row="2"/>
|
|
<Button Content="Nuovo prodotto"
|
|
Command="{Binding NewProduct_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="0"
|
|
Grid.Row="3"/>
|
|
<Button Content="Nuova versione"
|
|
Command="{Binding NewVersion_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="0"
|
|
Grid.Row="4"/>
|
|
<Button Content="Nuovo rivenditore"
|
|
Command="{Binding NewReseller_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="0"
|
|
Grid.Row="5"/>-->
|
|
<Button Content="Licenze"
|
|
Command="{Binding SearchLicence_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="1"
|
|
Grid.Row="0"/>
|
|
<Button Content="Chiavi"
|
|
Command="{Binding SearchKey_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="1"
|
|
Grid.Row="1"/>
|
|
<Button Content="Prodotti"
|
|
Command="{Binding SearchProduct_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="1"
|
|
Grid.Row="2"/>
|
|
<Button Content="Versioni"
|
|
Command="{Binding SearchVersion_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="1"
|
|
Grid.Row="3"/>
|
|
<Button Content="Rivenditori"
|
|
Command="{Binding SearchReseller_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="1"
|
|
Grid.Row="4"/>
|
|
<Button Content="Clienti"
|
|
Command="{Binding SearchClient_Command}"
|
|
Height="60"
|
|
Width="170"
|
|
Grid.Column="1"
|
|
Grid.Row="5"/>
|
|
</Grid>
|
|
|
|
</Grid>
|