public LearningSubjects() { InitializeComponent(); InitialiseTable(); CloseBtn.BigBtnSetStyle(Res.CloseBtn); SaveBtn.BigBtnSetStyle(Res.SaveBtn); }
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; }
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; }
/// <summary> /// Initialise Form /// </summary> public WelkomeScreen() { InitializeComponent(); WelkomeLbl.Text = Res.WelkomeLbl; RegistrationBtn.BigBtnSetStyle(Res.RegisterBtn); ContinueBtn.BigBtnSetStyle(Res.ContinueBtn); CloseBtn.BigBtnSetStyle(Res.CloseBtn); UpdateScreen(); }
public ClassesConnections() { InitializeComponent(); ClassNameLbl.Text = Res.ClassNameLbl; TeacherNameLbl.Text = Res.AdminTeacherLbl; CloseBtn.BigBtnSetStyle(Res.CloseBtn); SaveBtn.BigBtnSetStyle(Res.SaveBtn); InitialiseTable(); }
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); }
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; }
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; }