private void SiteBtn_Click(object sender, RoutedEventArgs e) { if (designation == "Owner") { ActivityFrame.Navigate(new Uri("View/Support.xaml", UriKind.Relative)); } else { MessageBox.Show("You are not authorized to access this section."); } }
private void HomeBtn_Click(object sender, RoutedEventArgs e) { ActivityFrame.Navigate(new Uri("View/HomeIntro.xaml", UriKind.Relative)); }
private void ExpendituresButton_Click(object sender, RoutedEventArgs e) { ActivityFrame.Navigate(new Uri("View/ExpendituresPage.xaml", UriKind.Relative)); }
private void ManageStuffBtn_Click(object sender, RoutedEventArgs e) { ActivityFrame.Navigate(new Uri("View/ManageStuffPage.xaml", UriKind.Relative)); }
private void SaleCarBtn_Click(object sender, RoutedEventArgs e) { ActivityFrame.Navigate(new Uri("View/SalesPage.xaml", UriKind.Relative)); }
private void Init() { ActivityFrame.Navigate(new Uri("View/HomeIntro.xaml", UriKind.Relative)); }