-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
102 lines (99 loc) · 5.66 KB
/
MainWindow.xaml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<Window x:Class="PF_THEBEAVERS.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:PF_THEBEAVERS"
mc:Ignorable="d"
Title="Telecable TheBeavers"
WindowState="Maximized"
WindowStartupLocation="CenterScreen"
Height="600"
Width="1000"
x:Name="Main"
Icon="./Resources/Icono.png" Background="#FF8E7352" Closing="Cerrar">
<Grid Height="529" VerticalAlignment="Top">
<Menu x:Name="MainMenu" VerticalAlignment="Top" Background="#FF715431">
<Menu.ItemsPanel>
<ItemsPanelTemplate>
<DockPanel HorizontalAlignment="Stretch"></DockPanel>
</ItemsPanelTemplate>
</Menu.ItemsPanel>
<!-- Registros -->
<MenuItem x:Name="Registros" Background="#FF714E24" Header="Registros" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" Margin="4,0,0,0" BorderBrush="#FF714E24">
<MenuItem x:Name="mPlanes" Header="Planes" Click="rPlanes_Click" >
<MenuItem.Icon>
<Image Source="/Resources/Combo.png"></Image>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="mContratos" Header="Contratos" Click="rContratos_Click">
<MenuItem.Icon>
<Image Source="/Resources/Contratos.png"></Image>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="mPagos" Header="Pagos" Click="rPagos_Click">
<MenuItem.Icon>
<Image Source="/Resources/Pagos.png"></Image>
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Averias" Click="rAverias_Click">
<MenuItem.Icon>
<Image Source="/Resources/Averias.png"></Image>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="mAverias" Header="Asignar Averias" Click="rAsignAverias_Click">
<MenuItem.Icon>
<Image Source="/Resources/AsignAverias.png"></Image>
</MenuItem.Icon>
</MenuItem>
</MenuItem>
<!-- Consultas -->
<MenuItem x:Name="Consultas" Background="#FF714E24" Header="Consultas" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" Margin="4,0,0,0" BorderBrush="#FF714E24">
<MenuItem x:Name="cPlanes" Header="Planes" Click="cPlanes_Click">
<MenuItem.Icon>
<Image Source="/Resources/Combo.png"></Image>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="cContratos" Header="Contratos" Click="cContratos_Click">
<MenuItem.Icon>
<Image Source="/Resources/Contratos.png"></Image>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="cPagos" Header="Pagos" Click="cPagos_Click">
<MenuItem.Icon>
<Image Source="/Resources/Pagos.png"></Image>
</MenuItem.Icon>
</MenuItem>
</MenuItem>
<MenuItem x:Name="Reportes" Background="#FF714E24" Header="Reportes" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" Margin="4,0,0,0" BorderBrush="#FF714E24">
<MenuItem x:Name="repContratos" Header="Reporte de contratos al dia" Click="repContratos_Click">
<MenuItem.Icon>
<Image Source="/Resources/Contratos.png"></Image>
</MenuItem.Icon>
</MenuItem>
</MenuItem>
<!-- Papelera -->
<MenuItem Background="#FF714E24" Header="Papelera" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" Margin="4,0,0,0" BorderBrush="#FF714E24">
<MenuItem x:Name="pContratos" Header="Contratos" Click="pContratos_Click">
<MenuItem.Icon>
<Image Source="/Resources/Contratos.png"></Image>
</MenuItem.Icon>
</MenuItem>
</MenuItem>
<!-- Perfil -->
<MenuItem x:Name="ProfileMenuItem" HorizontalAlignment="Right" Background="#FF714E24" FlowDirection="RightToLeft" HorizontalContentAlignment="Right" FontWeight="Bold" Height="60">
<MenuItem.Icon>
<Image Source="/Resources/profile.png" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5" Width="40" Margin="-10" Height="40" VerticalAlignment="Center"/>
</MenuItem.Icon>
<MenuItem x:Name="CambiarClaveItem" Header="Cambiar Contraseña" Click="CambiarClave_Click"/>
<MenuItem x:Name="CerrarSeccionMenuItem" Header="Cerrar Sesión" Click="CerrarSesionMenuItem_Click"/>
</MenuItem>
</Menu>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="249*" />
<RowDefinition Height="280*" />
</Grid.RowDefinitions>
<Image Source="/Resources/beavers.png" HorizontalAlignment="Right" Height="540" VerticalAlignment="Bottom" Width="779" Grid.RowSpan="2" Margin="0,0,0,-5" Grid.ColumnSpan="1" />
</Grid>
</Grid>
</Window>