1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| <!-- TOOLS BAR -->
<ToolBar Name="toolBar" ToolBarTray.IsLocked="True" Grid.Row="0" Margin="4" Cursor="Hand" Background="#1E2E2E" HorizontalContentAlignment="Stretch" >
<Button Name="btnNewProject" Click="btnNewProject_Click" ToolTip="Créer un nouveau projet de test" Cursor="Hand" VerticalAlignment="Stretch" Margin="4" >
<Grid>
<fa:ImageAwesome Icon="Folder" Height="22" Foreground="LightGray" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4" />
<fa:ImageAwesome Icon="Plus" Height="8" Foreground="Blue" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="4" />
</Grid>
</Button>
<Separator Margin="4" Name="sepaToolBar" />
<Button Name="btnOpenProject" Click="btnOpenProject_Click" ToolTip="Ouvrir un projet de test existant" Cursor="Hand" >
<fa:ImageAwesome Icon="FolderOpen" Height="22" Foreground="LightGray" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4" />
</Button>
<Button Name="btnSaveProject" Click="btnSaveProject_Click" ToolTip="Sauvegarder le projet de test" Cursor="Hand" >
<fa:ImageAwesome Icon="Save" Height="22" Foreground="LightGray" HorizontalAlignment="Center" VerticalAlignment="Top" />
</Button>
<Button Name="btnSaveAsProject" Click="btnSaveAsProject_Click" ToolTip="Sauvegarder le projet de test sous ..." Cursor="Hand" >
<Grid>
<fa:ImageAwesome Icon="Save" Height="22" Foreground="LightGray" HorizontalAlignment="Center" VerticalAlignment="Top" />
<fa:ImageAwesome Icon="EllipsisH" Height="5" Foreground="Blue" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,10,6" />
</Grid>
</Button>
<ToggleButton Name="btnLunchTest" Click="btnLunchTest_Click" ToolTip="Lancer le test" Cursor="Hand" Margin="100,4,4,4" HorizontalAlignment="Right" VerticalAlignment="Center" >
<fa:ImageAwesome Icon="PlayCircleOutline" Height="22" Foreground="Orange" HorizontalAlignment="Center" VerticalAlignment="Top" />
</ToggleButton>
<StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="1" Margin="60,4,4,4" >
<Button Name="btnRefreshPorts" Click="btnRefreshPorts_Click" Grid.Column="3" Background="Transparent" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="0" Cursor="Hand" Margin="4">
<fa:ImageAwesome Icon="Refresh" Height="22" Foreground="LightGray" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4" />
</Button>
<Label Content="Port COM :" Foreground="White" Margin="2" VerticalAlignment="Center" />
<ComboBox Name="cbbPortCom" BorderBrush="DarkGray" Background="Black" Grid.Column="2" Cursor="Hand" SelectionChanged="CbbPortCom_SelectionChanged" VerticalAlignment="Center" Margin="4" />
</StackPanel>
<Grid Name="grdConfigProjet">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- Client / Produit -->
<Label Content="Client :" Foreground="White" Margin="2" VerticalAlignment="Center" />
<ComboBox Name="cbbClients" Grid.Column="1" MinWidth="100" Cursor="Hand" ItemsSource="{Binding}" ItemTemplate="{StaticResource LIbelleDataTemplate}" SelectionChanged="CbbClients_SelectionChanged" VerticalAlignment="Center" Margin="2" />
<Label Content="Produit :" Grid.Column="2" Foreground="White" Margin="2" VerticalAlignment="Center" />
<ComboBox Name="cbbProduits" Grid.Column="3" MinWidth="100" Cursor="Hand" ItemsSource="{Binding}" ItemTemplate="{StaticResource LIbelleDataTemplate}" SelectionChanged="CbbProduits_SelectionChanged" VerticalAlignment="Center" Margin="2" />
<!-- Speed Com -->
<Label Content="Vitesse :" Grid.Column="4" Foreground="White" Margin="2" VerticalAlignment="Center" />
<ComboBox Name="cbbSpeedCom" Grid.Column="5" SelectionChanged="cbbSpeedCom_SelectionChanged" Width="100" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="2" />
</Grid>
</ToolBar> |
Partager