Skip to content

Commit a48da2f

Browse files
authored
Update
1 parent 0aa0fe4 commit a48da2f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

MainWindow.xaml.cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
using System.Windows;
2+
using ProBizERP.Views;
3+
4+
namespace ProBizERP
5+
{
6+
public partial class MainWindow : Window
7+
{
8+
public MainWindow()
9+
{
10+
InitializeComponent();
11+
MainContent.Content = new InventoryView();
12+
}
13+
14+
private void InventoryBtn_Click(object sender, RoutedEventArgs e)
15+
{
16+
MainContent.Content = new InventoryView();
17+
}
18+
19+
private void SalesBtn_Click(object sender, RoutedEventArgs e)
20+
{
21+
MainContent.Content = new SalesView();
22+
}
23+
24+
private void ReportsBtn_Click(object sender, RoutedEventArgs e)
25+
{
26+
MainContent.Content = new ReportView();
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)