Skip to content

Commit

Permalink
[Add] main window
Browse files Browse the repository at this point in the history
  • Loading branch information
natasakasikovic committed Mar 31, 2024
1 parent 01d2fd0 commit 24d55d2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
6 changes: 5 additions & 1 deletion LangLang/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:LangLang"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
Title="LangSchool" Height="450" Width="800">
<Grid>
<Button Content="Director" HorizontalAlignment="Left" Height="82" Margin="86,217,0,0" VerticalAlignment="Top" Width="606" Click="DirectorWindow"/>
<Button Content="Tutor" HorizontalAlignment="Left" Height="79" Margin="86,115,0,0" VerticalAlignment="Top" Width="314"/>
<Button Content="Student" HorizontalAlignment="Left" Height="79" Margin="405,115,0,0" VerticalAlignment="Top" Width="280"/>
<Button Content="Register" HorizontalAlignment="Left" Height="70" Margin="186,336,0,0" VerticalAlignment="Top" Width="380"/>

</Grid>
</Window>
20 changes: 19 additions & 1 deletion LangLang/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
using System;
using LangLang.Core.Controller;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using LangLang.Core.Controller;
using LangLang.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand All @@ -20,9 +29,18 @@ namespace LangLang
/// </summary>
public partial class MainWindow : Window
{
private TutorController tutorController { get; set; }

public MainWindow()
{
InitializeComponent();
}

private void DirectorWindow(object sender, RoutedEventArgs e)
{
//DirectorWindow window = new DirectorWindow();
//window.Show();
}

}
}

0 comments on commit 24d55d2

Please sign in to comment.