private void VeiwTwoWeekButton_Click(object sender, RoutedEventArgs e) { InvoiceDG.ItemsSource = PlannerClass.TwoWeekInvoices(); ContractsPreInvouce.ItemsSource = null; }