private void StoringenClick(object sender, RoutedEventArgs e) { Title = "Alle storingen"; overviewContainer.Children.Clear(); problemOverviewView = new ProblemOverviewView(); overviewContainer.Children.Add(problemOverviewView); Messenger.Default.Send(new OpenOverviewMessage(), ViewType.Problem); }
public OverviewView() { InitializeComponent(); problemOverviewView = new ProblemOverviewView(); overviewContainer.Children.Add(problemOverviewView); // tijdelijk // if (currentEmployee.AccountTypeOfCurrentEmployee() == "IT-manager") // btnRapportages.Visibility = Visibility.Visible; }