Example #1
0
 private void OlympicProcess_Load(object sender, EventArgs e)
 {
     ClassLbl.Text = string.Join(" ", Res.ClassNameLbl, AppConstants.CurrentUser.Class);
     UserLbl.Text  = AppConstants.CurrentUser.SimpleName;
     CloseBtn.SmallBtnSetStyle(Res.CloseBtn);
     SaveBtn.SmallBtnSetStyle(Res.SaveBtn);
     FullNameLbl.Text = Res.FullNameLbl;
     SubjectLbl.Text  = string.Empty;
     SaveToFile.SmallBtnSetStyle(Res.SaveToFileLbl);
     SaveToFile.Visible = teach.IsAdmin;
 }
Example #2
0
        public ClassesRegister()
        {
            InitializeComponent();
            ChooseClassLbl.Text = Res.PressClassLbl;
            FullNameLbl.Text    = Res.FullNameLbl;

            SaveBtn.SmallBtnSetStyle(Res.SaveBtn);
            ExportBtn.SmallBtnSetStyle(Res.ExportBtn);
            CloseBtn.SmallBtnSetStyle(Res.CloseBtn);

            TableFlow.Visible      = false;
            ChooseColumnCB.Enabled = false;
            ChooseColumnCB.Items.AddRange(AppConstants.columnsPupilList.ToArray());
        }
Example #3
0
        public TeachersRegistration()
        {
            InitializeComponent();
            ExportBtn.SmallBtnSetStyle(Res.ExportBtn);
            CloseBtn.SmallBtnSetStyle(Res.CloseBtn);
            SaveBtn.SmallBtnSetStyle(Res.SaveBtn);
            FullNameLbl.Text = Res.FullNameLbl;

            SaveBtn.Enabled   = false;
            ExportBtn.Enabled = true;

            Table.Visible = false;
            ColumnNameCB.Items.AddRange(AppConstants.columnsTeacherList.ToArray());
        }