Skip to content
Snippets Groups Projects
Commit 3dd2b16c authored by Your Name's avatar Your Name
Browse files

adfawfawfa

parent 7e04fe98
No related branches found
No related tags found
1 merge request!31Mascott animation
......@@ -6,10 +6,9 @@
xmlns:local="clr-namespace:InnoLabProjektDektopApp"
xmlns:header="clr-namespace:InnoLabProjektDektopApp.Screens.Templates"
mc:Ignorable="d"
ContextMenuClosing="Page_ContextMenuClosing"
Height="550" Width="900">
<Grid>
<!-- <header:HeaderTemplate VerticalAlignment="Center" Height="534" Loaded="HeaderTemplate_Loaded"/> -->
<!-- <header:HeaderTemplate VerticalAlignment="Center" Height="534"/> -->
<Button Margin="0,100,150,10" Width="40" Height="40" HorizontalAlignment="Right" VerticalAlignment="Top" Background="Transparent" BorderBrush="Transparent" Click="discardSession_Click">
<Grid >
<Line X1="5" Y1="5" X2="35" Y2="35" Stroke="Gray" StrokeThickness="5" />
......
......@@ -29,7 +29,7 @@ namespace InnoLabProjektDektopApp
private bool isBreakPeriod = false; // Speichert, ob wir in einer Pause sind
private Mascott mascott;
private static Mascott mascott;
private Timer timer;
......@@ -281,11 +281,6 @@ namespace InnoLabProjektDektopApp
reasonWindow.Show();
}
private void Page_ContextMenuClosing(object sender, ContextMenuEventArgs e)
{
mascott.Close();
}
public DateTime timeLeft()
{
return DateTime.Now.AddSeconds(maxTime - seconds);
......
......@@ -29,7 +29,7 @@ namespace InnoLabProjektDektopApp.Screens.Templates
private void BurgerMenuButton_Click(object sender, RoutedEventArgs e)
{
// Toggle the visibility of the menu panel
//MenuPanel.Visibility = MenuPanel.Visibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible;
MenuPanel.Visibility = MenuPanel.Visibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible;
}
private void OverviewButton_Click(object sender, RoutedEventArgs e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment