示例#1
0
 public LearningSubjects()
 {
     InitializeComponent();
     InitialiseTable();
     CloseBtn.BigBtnSetStyle(Res.CloseBtn);
     SaveBtn.BigBtnSetStyle(Res.SaveBtn);
 }
示例#2
0
 private void Table_Paint(object sender, PaintEventArgs e)
 {
     SaveBtn.BigBtnSetStyle(Res.SaveBtn);
     CloseBtn.BigBtnSetStyle(Res.CloseBtn);
     ClassLbl.Text        = Res.ClassNameLbl;
     TeacherFirstLbl.Text = Res.TeacherLbl;
     TeacherSecLbl.Text   = Res.ExtraTeacherLbl;
 }
示例#3
0
 private void flowLayoutPanel1_Paint(object sender, PaintEventArgs e)
 {
     SaveBtn.BigBtnSetStyle(Res.SaveBtn);
     CloseBtn.BigBtnSetStyle(Res.CloseBtn);
     SexContainer.Text     = Res.PupilSexLbl;
     AddressContainer.Text = Res.PupilsAddressLbl;
     YearContainer.Text    = Res.YearBirthLbl;
     NameContainer.Text    = Res.FullNameLbl;
 }
示例#4
0
 /// <summary>
 /// Initialise Form
 /// </summary>
 public WelkomeScreen()
 {
     InitializeComponent();
     WelkomeLbl.Text = Res.WelkomeLbl;
     RegistrationBtn.BigBtnSetStyle(Res.RegisterBtn);
     ContinueBtn.BigBtnSetStyle(Res.ContinueBtn);
     CloseBtn.BigBtnSetStyle(Res.CloseBtn);
     UpdateScreen();
 }
示例#5
0
        public ClassesConnections()
        {
            InitializeComponent();
            ClassNameLbl.Text   = Res.ClassNameLbl;
            TeacherNameLbl.Text = Res.AdminTeacherLbl;

            CloseBtn.BigBtnSetStyle(Res.CloseBtn);
            SaveBtn.BigBtnSetStyle(Res.SaveBtn);

            InitialiseTable();
        }
示例#6
0
        private void UpdateTeacherActivity_Load(object sender, EventArgs e)
        {
            ClassLbl.Text        = Res.ClassNameLbl;
            ActivityNameLbl.Text = Res.ActivityNameLbl;

            FullNameLbl.Text = Res.FullNameLbl;
            StatusLbl.Text   = Res.StatusLbl;

            SaveBtn.BigBtnSetStyle(Res.SaveBtn);
            CloseBtn.BigBtnSetStyle(Res.CloseBtn);
        }
示例#7
0
        public AdminScreen()
        {
            InitializeComponent();
            teacherCB.Items.AddRange(AppConstants.teacs.Select(item => item.SimpleName).ToArray());

            SaveBtn.BigBtnSetStyle(Res.SaveBtn);
            CloseBtn.BigBtnSetStyle(Res.CloseBtn);

            Box.Text        = Res.AdminPost;
            SaveBtn.Enabled = false;
        }
示例#8
0
        private void AddNewYearActivity_Load(object sender, EventArgs e)
        {
            ClassLbl.Text        = Res.ClassNameLbl;
            ActivityNameLbl.Text = Res.ActivityNameLbl;

            FullNameLbl.Text      = Res.FullNameLbl;
            NeedToProcessLbl.Text = Res.NeedToProcessLbl;

            SaveBtn.BigBtnSetStyle(Res.SaveBtn);
            CloseBtn.BigBtnSetStyle(Res.CloseBtn);

            ChooseClassCB.Items.AddRange(AppConstants.AvailableClassesList.ToArray());
        }
        public ChooseFunctionality()
        {
            InitializeComponent();
            CloseBtn.BigBtnSetStyle(Res.CloseBtn);
            Welkomelbl.Size = new Size(300, 40);
            Welkomelbl.Text = string.Format(Res.AuthoredWelkomeLbl, AppConstants.CurrentUser.FullName);
            OlympicBtn.BigBtnSetStyle(Res.OlympicLbl);
            OlympicBtn.Enabled = !string.IsNullOrEmpty(AppConstants.CurrentUser.Class);
            Filters.BigBtnSetStyle(Res.Filters);

            YearlyReportBtn.BigBtnSetStyle(Res.YearlyReportLbl);
            YearlyReportBtn.Enabled = AppConstants.CurrentUser.IsAdmin;

            YearActivitiesBtn.BigBtnSetStyle(Res.YearActivitiesBtn);

            FinishYearBtn.BigBtnSetStyle(Res.FinishYearLbl);
            FinishYearBtn.Enabled = AppConstants.CurrentUser.IsAdmin;
        }