diff --git a/DokterApp/Homepage.xaml b/DokterApp/Homepage.xaml
deleted file mode 100644
index 3431c04..0000000
--- a/DokterApp/Homepage.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
diff --git a/DokterApp/MainWindow.xaml b/DokterApp/MainWindow.xaml
index d1cf291..1c9bce1 100644
--- a/DokterApp/MainWindow.xaml
+++ b/DokterApp/MainWindow.xaml
@@ -17,11 +17,12 @@
+
-
+
diff --git a/DokterApp/MainWindow.xaml.cs b/DokterApp/MainWindow.xaml.cs
index 9bd0003..fc2bab1 100644
--- a/DokterApp/MainWindow.xaml.cs
+++ b/DokterApp/MainWindow.xaml.cs
@@ -25,16 +25,16 @@ namespace DokterApp
InitializeComponent();
}
-
-
- private void Login_Click(object sender, RoutedEventArgs e)
- {
-
- }
-
private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
{
}
+
+ private void Login_Click_1(object sender, RoutedEventArgs e)
+ {
+ WindowTabs windowTabs = new WindowTabs();
+ windowTabs.Show();
+ this.Close();
+ }
}
}
diff --git a/DokterApp/UserControl.xaml b/DokterApp/UserControl.xaml
deleted file mode 100644
index 30020ea..0000000
--- a/DokterApp/UserControl.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
diff --git a/DokterApp/UserControlForTab.xaml b/DokterApp/UserControlForTab.xaml
new file mode 100644
index 0000000..5b1b2d0
--- /dev/null
+++ b/DokterApp/UserControlForTab.xaml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DokterApp/Homepage.xaml.cs b/DokterApp/UserControlForTab.xaml.cs
similarity index 76%
rename from DokterApp/Homepage.xaml.cs
rename to DokterApp/UserControlForTab.xaml.cs
index 4e94a78..2c34c55 100644
--- a/DokterApp/Homepage.xaml.cs
+++ b/DokterApp/UserControlForTab.xaml.cs
@@ -14,11 +14,11 @@ using System.Windows.Shapes;
namespace DokterApp
{
///
- /// Interaction logic for Homepage.xaml
+ /// Interaction logic for UserControlForTab.xaml
///
- public partial class Homepage : Page
+ public partial class UserControlForTab : UserControl
{
- public Homepage()
+ public UserControlForTab()
{
InitializeComponent();
}
diff --git a/DokterApp/WindowTabs.xaml b/DokterApp/WindowTabs.xaml
new file mode 100644
index 0000000..0ba52cf
--- /dev/null
+++ b/DokterApp/WindowTabs.xaml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DokterApp/UserControl.xaml.cs b/DokterApp/WindowTabs.xaml.cs
similarity index 72%
rename from DokterApp/UserControl.xaml.cs
rename to DokterApp/WindowTabs.xaml.cs
index 228deca..e1baf45 100644
--- a/DokterApp/UserControl.xaml.cs
+++ b/DokterApp/WindowTabs.xaml.cs
@@ -8,17 +8,16 @@ using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DokterApp
{
///
- /// Interaction logic for UserControl.xaml
+ /// Interaction logic for WindowTabs.xaml
///
- public partial class UserControl : UserControl
+ public partial class WindowTabs : Window
{
- public UserControl()
+ public WindowTabs()
{
InitializeComponent();
}