DiffCredit.axaml.cs 827 B

12345678910111213141516171819202122232425
  1. using Avalonia;
  2. using Avalonia.Controls;
  3. using Avalonia.Controls.ApplicationLifetimes;
  4. using Avalonia.Interactivity;
  5. using AvaloniaApplication4.AdditionalModels;
  6. using AvaloniaApplication4.Models;
  7. using AvaloniaApplication4.ViewModels.StudyListsViewModels;
  8. using AvaloniaUI.PrintToPDF;
  9. using Tmds.DBus.Protocol;
  10. namespace AvaloniaApplication4.Views.StudyLists
  11. {
  12. public partial class DiffCredit : UserControl
  13. {
  14. public DiffCredit(User? user, ref GlobalsData globalsData, Models.ProgramsWithSubject subject, int idAction)
  15. {
  16. InitializeComponent();
  17. //âðåìåííî, ïîòîì ïî-äðóãîìó ñäåëàòü íóæíî áóäåò
  18. DataContext = new DiffCreditViewModel(globalsData, user, subject, idAction);
  19. //Window window = new PDFPrintDiffCredit();
  20. }
  21. }
  22. }