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);
 }
 public AssignAuthor(int articleId)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authorCore     = new AuthorCore();
     authCore       = new AuthenticationCore();
     articleCore    = new ArticleCore();
     this.articleId = articleId;
 }
Exemple #4
0
 public UserPanel()
 {
     InitializeComponent();
     WindowHelper.FullScreenWindowSettings(this, UserLabel);
     core        = new AuthenticationCore();
     authorCore  = new AuthorCore();
     messageCore = new MessageCore();
     InitializeData();
     SetMessageTimer();
 }
Exemple #5
0
 public SelectAuthorsWindowViewModel(IAuthorCore authorCore, IBookCore bookcore)
 {
     _authorCore = authorCore;
     _bookCore   = bookcore;
     GetAuthors();
 }