diff --git a/DokterApp/ITab.cs b/DokterApp/ITab.cs new file mode 100644 index 0000000..c01f9ad --- /dev/null +++ b/DokterApp/ITab.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Windows.Input; + +namespace DokterApp +{ + public interface ITab + { + string Name { get; set; } + ICommand CloseCommand { get; } + event EventHandler CloseRequested; + } + + public abstract class Tab : ITab + { + public string Name { get; set; } + public ICommand CloseCommand { get; } + public event EventHandler CloseRequested; + + public Tab() + { + //CloseCommand = + } + + } + +} diff --git a/DokterApp/MainWindow.xaml b/DokterApp/MainWindow.xaml index 5ce5844..1c9bce1 100644 --- a/DokterApp/MainWindow.xaml +++ b/DokterApp/MainWindow.xaml @@ -5,8 +5,25 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:DokterApp" mc:Ignorable="d" - Title="MainWindow" Height="450" Width="800"> - + WindowState="Maximized" + Title="Dokter App" > + + + + + + + + + + +