private void btnCreateSalSheet_Click(object sender, RoutedEventArgs e) { SalarySheetWindow win = new SalarySheetWindow(); win.ShowDialog(); }