Пример #1
0
 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.");
     }
 }
Пример #2
0
 private void HomeBtn_Click(object sender, RoutedEventArgs e)
 {
     ActivityFrame.Navigate(new Uri("View/HomeIntro.xaml", UriKind.Relative));
 }
Пример #3
0
 private void ExpendituresButton_Click(object sender, RoutedEventArgs e)
 {
     ActivityFrame.Navigate(new Uri("View/ExpendituresPage.xaml", UriKind.Relative));
 }
Пример #4
0
 private void ManageStuffBtn_Click(object sender, RoutedEventArgs e)
 {
     ActivityFrame.Navigate(new Uri("View/ManageStuffPage.xaml", UriKind.Relative));
 }
Пример #5
0
 private void SaleCarBtn_Click(object sender, RoutedEventArgs e)
 {
     ActivityFrame.Navigate(new Uri("View/SalesPage.xaml", UriKind.Relative));
 }
Пример #6
0
 private void Init()
 {
     ActivityFrame.Navigate(new Uri("View/HomeIntro.xaml", UriKind.Relative));
 }