コード例 #1
0
 public ManageAccount()
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore = new AuthenticationCore();
     InitializeData();
 }
コード例 #2
0
 public ReviewDetails(ReviewDTO review)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     core          = new AuthenticationCore();
     currentReview = review;
     LoadData();
 }
コード例 #3
0
 public AssignAuthor(int articleId)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authorCore     = new AuthorCore();
     authCore       = new AuthenticationCore();
     articleCore    = new ArticleCore();
     this.articleId = articleId;
 }
コード例 #4
0
 public AdministratorPanel()
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore = new AuthenticationCore();
     confCore = new ConferenceCore();
     UserCredentials.Username = "******";
     InitializeData();
 }
コード例 #5
0
 public AddEditTask(TaskDTO task)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     taskCore    = new TaskCore();
     authCore    = new AuthenticationCore();
     currentTask = task;
     InitializeData();
 }
コード例 #6
0
 public PresentationDetailsReadOnly(PresentationDTO presentation)
 {
     InitializeComponent();
     WindowHelper.SmallWindowSettings(this);
     authCore          = new AuthenticationCore();
     articleCore       = new ArticleCore();
     sessionCore       = new SessionCore();
     this.presentation = presentation;
     FillPresentationBoxes();
 }
コード例 #7
0
ファイル: UserPanel.xaml.cs プロジェクト: 2644783865/ssd-cms
 public UserPanel()
 {
     InitializeComponent();
     WindowHelper.FullScreenWindowSettings(this, UserLabel);
     core        = new AuthenticationCore();
     authorCore  = new AuthorCore();
     messageCore = new MessageCore();
     InitializeData();
     SetMessageTimer();
 }
コード例 #8
0
 public ManagerPanel()
 {
     InitializeComponent();
     WindowHelper.FullScreenWindowSettings(this, UserLabel, ConferenceLabel);
     authCore    = new AuthenticationCore();
     confCore    = new ConferenceCore();
     eventCore   = new EventCore();
     sessionCore = new SessionCore();
     InitializeData();
 }
コード例 #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();
 }
コード例 #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);
        }