Exemplo n.º 1
0
 public ManageAccount()
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore = new AuthenticationCore();
     InitializeData();
 }
Exemplo n.º 2
0
 public ReviewDetails(ReviewDTO review)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     core          = new AuthenticationCore();
     currentReview = review;
     LoadData();
 }
Exemplo n.º 3
0
 public AssignAuthor(int articleId)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authorCore     = new AuthorCore();
     authCore       = new AuthenticationCore();
     articleCore    = new ArticleCore();
     this.articleId = articleId;
 }
Exemplo n.º 4
0
 public AdministratorPanel()
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore = new AuthenticationCore();
     confCore = new ConferenceCore();
     UserCredentials.Username = "******";
     InitializeData();
 }
Exemplo n.º 5
0
 public AddEditTask(TaskDTO task)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     taskCore    = new TaskCore();
     authCore    = new AuthenticationCore();
     currentTask = task;
     InitializeData();
 }
 public PresentationDetailsReadOnly(PresentationDTO presentation)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore          = new AuthenticationCore();
     articleCore       = new ArticleCore();
     sessionCore       = new SessionCore();
     this.presentation = presentation;
     FillPresentationBoxes();
 }
Exemplo n.º 7
0
 public UserPanel()
 {
     InitializeComponent();
     WindowHelper.FullScreenWindowSettings(this, UserLabel);
     core        = new AuthenticationCore();
     authorCore  = new AuthorCore();
     messageCore = new MessageCore();
     InitializeData();
     SetMessageTimer();
 }
Exemplo n.º 8
0
 public ManagerPanel()
 {
     InitializeComponent();
     WindowHelper.FullScreenWindowSettings(this, UserLabel, ConferenceLabel);
     authCore    = new AuthenticationCore();
     confCore    = new ConferenceCore();
     eventCore   = new EventCore();
     sessionCore = new SessionCore();
     InitializeData();
 }
Exemplo n.º 9
0
 public MessageMainWindow()
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     CurrentUserAccountID = UserCredentials.Account.AccountId;
     core     = new MessageCore();
     authcore = new AuthenticationCore();
     targeted_conversation = new Dictionary <int, string>();
     LoadRecentMessagesImmediately();
     GetPrimaryFocusAtContactAsync();
     DataContext          = contactlist;
     SendButton.IsEnabled = false;
     SetMessageTimer();
 }
Exemplo n.º 10
0
        public AddEditSession(SessionDTO session, SpecialSessionDTO specialSession)
        {
            InitializeComponent();
            WindowHelper.SmallWindowSettings(this);
            core      = new SessionCore();
            authCore  = new AuthenticationCore();
            eventCore = new EventCore();
            roomCore  = new RoomCore();

            currentSession        = session;
            currentSpecialSession = specialSession;
            if (currentSession != null)
            {
                InitializeSessionFields();
            }
            if (currentSpecialSession != null)
            {
                InitializeSpecialSessionFields();
            }
            Refresh_Click(null, null);
        }