Esempio n. 1
0
 public ManageAuthor()
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore   = new AuthenticationCore();
     authorCore = new AuthorCore();
 }
 public AuthorsControlViewModel(IAuthorCore authorCore, AuthorDetailsWindow authorDetailsWindow)
 {
     _authorDetailsWindow = authorDetailsWindow;
     _authorCore          = authorCore;
     SelectedAuthors      = new ObservableCollection <Author>();
     SetAuthorList(null);
     GetAll(null);
 }
Esempio n. 3
0
 public AssignAuthor(int articleId)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authorCore     = new AuthorCore();
     authCore       = new AuthenticationCore();
     articleCore    = new ArticleCore();
     this.articleId = articleId;
 }
Esempio n. 4
0
 public UserPanel()
 {
     InitializeComponent();
     WindowHelper.FullScreenWindowSettings(this, UserLabel);
     core        = new AuthenticationCore();
     authorCore  = new AuthorCore();
     messageCore = new MessageCore();
     InitializeData();
     SetMessageTimer();
 }
Esempio n. 5
0
 public SelectAuthorsWindowViewModel(IAuthorCore authorCore, IBookCore bookcore)
 {
     _authorCore = authorCore;
     _bookCore   = bookcore;
     GetAuthors();
 }