-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
71 lines (61 loc) · 3.2 KB
/
MainWindow.xaml
File metadata and controls
71 lines (61 loc) · 3.2 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Window x:Class="Nutritia.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:resx="clr-namespace:Nutritia.Properties"
Title="Nutritia"
ResizeMode="CanMinimize"
Closing="Window_Closing"
KeyDown="Window_KeyDown"
ResxExtension.DefaultResxName="Nutritia.UI.Ressources.Localisation.MainWindow" Language="{UICulture}">
<Grid>
<Grid.Background>
<ImageBrush Opacity="0.3" ImageSource="/Nutritia;component/UI/Images/background.jpg"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="35"></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<DockPanel>
<ToolBar Width="655" HorizontalAlignment="Center">
<Button Name="btnRetour" VerticalAlignment="Bottom" Click="btnRetour_Click">
<DockPanel>
<Image Source="/Nutritia;component/UI/Images/retour.PNG"/>
<TextBlock Text="{Resx Retour}" FontSize="20" FontFamily="Berlin"/>
</DockPanel>
</Button>
<Button Name="btnInfo" VerticalAlignment="Bottom" Click="btnAPropos_Click">
<DockPanel>
<Image Width="24" Source="/Nutritia;component/UI/Images/aProposIcon.PNG"/>
<TextBlock Text="{Resx APropos}" FontSize="20" FontFamily="Berlin"/>
</DockPanel>
</Button>
<Button Name="btnParam" Click="btnParam_Click">
<DockPanel>
<Image Source="/Nutritia;component/UI/Images/paramIcon.PNG"/>
<TextBlock Text="{Resx Parametres}" FontSize="20" FontFamily="Berlin"/>
</DockPanel>
</Button>
<Button Name="btnAide" Click="btnAide_Click">
<DockPanel>
<Image Source="/Nutritia;component/UI/Images/HelpIcon.PNG"/>
<TextBlock Text="{Resx Aide}" FontSize="20" FontFamily="Berlin"/>
</DockPanel>
</Button>
<Image ToolTipService.ShowDuration="12000" Width="24" Height="24" Margin="2" Source="UI/Images/notifIcon.png" >
<Image.ToolTip>
<ToolTip StaysOpen="True" HorizontalOffset="10"
ToolTipService.InitialShowDelay="0" ToolTipService.BetweenShowDelay="0">
<TextBlock>Nouvelle Notification</TextBlock>
</ToolTip>
</Image.ToolTip>
</Image>
<TextBlock Name="nbrNotif" Text="" Foreground="DarkGreen"/>
<ToolBar Name="toolBarNotif" Width="15">
<!--<Button Name="btnNotification" VerticalAlignment="Top">-->
<!--</Button>-->
</ToolBar>
</ToolBar>
</DockPanel>
<ContentPresenter Grid.Row="1" Name="presenteurContenu" />
</Grid>
</Window>