Beispiel #1
0
 public NewStudent()
 {
     InitializeComponent();
     markThings.TeacherFill(teacherComboBox);
     studentThings.ParentFill(parentComboBox);
     markThings.ClassFill(actualClassComboBox);
 }
Beispiel #2
0
        public NewOmission()
        {
            InitializeComponent();
            markThings.ClassFill(this.classComboBox);
            markThings.TeacherFill(this.teacherComboBox);

            studenNameCombobox.Items.Add(new KeyValuePair <string, int>("Válasszon osztályt elősször!", 400));
            studenNameCombobox.SelectedIndex = 0;
            studenNameCombobox.DisplayMember = "key";
            studenNameCombobox.ValueMember   = "value";

            classComboBox.SelectedIndex = -1;
        }
Beispiel #3
0
        public Parentoperator()
        {
            InitializeComponent();

            AllParentFill();
            teahcer.TeacherFill(actualTeachercomboBox);
            if (Loginscreen.permValue > 102)
            {
                deleteParentButton.Visible         = false;
                updateParentButton.Visible         = false;
                newParentButton.Visible            = false;
                actualAccountNametextBox.ReadOnly  = true;
                actualAccountNametextBox.BackColor = Color.DarkGray;
            }
        }
Beispiel #4
0
        public Studentoperator()
        {
            InitializeComponent();

            markThings.ClassFill(actualClassComboBox);
            markThings.TeacherFill(actualTeachercomboBox);
            StudentFill();
            ParentFill(actualParentComboBox);

            if (Loginscreen.permValue > 102)
            {
                deleteStudentButton.Visible        = false;
                updateStudentButton.Visible        = false;
                newStudentButton.Visible           = false;
                actualAccountNametextBox.ReadOnly  = true;
                actualAccountNametextBox.BackColor = Color.DarkGray;
            }
        }
        public Omissionoperator()
        {
            InitializeComponent();


            comboFill.TeacherFill(actualTeacherComboBox);
            comboFill.ClassFill(classComboBox);
            comboFill.StudentFill(classComboBox, studenNameCombobox);
            comboFill.StudentFill(classComboBox, actualStudentNameComboBox);
            StartOmissionGridFill();

            omissionDataGridView.ColumnHeadersVisible = false;
            if (Loginscreen.permValue == 103 || Loginscreen.permValue == 104)
            {
                deleteOmissionButton.Visible  = false;
                updateOmissionbutton.Visible  = false;
                newOmissionButton.Visible     = false;
                actualCertifyCheckBox.Enabled = false;
                actualDelayCheckBox.Enabled   = false;
            }
        }
Beispiel #6
0
 public NewParent()
 {
     InitializeComponent();
     markThings.TeacherFill(TeachercomboBox);
 }