Пример #1
0
 public GroupAdd()
 {
     InitializeComponent();
     db = new SheaduleContext();
     FacultyName.DropDownStyle = ComboBoxStyle.DropDownList;
     FacultyName.SelectedIndex = 0;
 }
Пример #2
0
 public Auditor()
 {
     InitializeComponent();
     db = new SheaduleContext();
     AuditorBuilding.DropDownStyle = ComboBoxStyle.DropDownList;
     AuditorBuilding.SelectedIndex = 0;
 }
Пример #3
0
        public TascAddAud(string build, string aud, string weekday, int weeknumber, string time)
        {
            InitializeComponent();

            this.build      = build;
            this.aud        = aud;
            this.weekday    = weekday;
            this.weeknumber = weeknumber;
            this.time       = time;
            db = new SheaduleContext();
            Activity.DropDownStyle                =
                Course.DropDownStyle              =
                    Discipline.DropDownStyle      =
                        Group.DropDownStyle       =
                            Teacher.DropDownStyle = ComboBoxStyle.DropDownList;
            Course.Text           = "3";
            AddList.SelectedIndex = 0;
            TascAdd_Load(null, null);
        }
Пример #4
0
 public TascAddTeacher(string teacher, string time, string weekday, int weeknumber)
 {
     InitializeComponent();
     db = new SheaduleContext();
     Activity.DropDownStyle                       =
         Schedule.DropDownStyle                   =
             Building.DropDownStyle               =
                 Course.DropDownStyle             =
                     Auditor.DropDownStyle        =
                         Discipline.DropDownStyle =
                             Group.DropDownStyle  = ComboBoxStyle.DropDownList;
     this.teacher          = teacher;
     this.time             = time;
     this.weekday          = weekday;
     this.weeknumber       = weeknumber;
     AddList.SelectedIndex = 0;
     TascAdd_Load(null, null);
     AuditorAdd(null, null);
 }
Пример #5
0
 public TascAddStudent(string day, string time, int group, int course, int weeknumber, int crosses)
 {
     this.crosses    = crosses;
     this.day        = day;
     this.time       = time;
     this.group      = group;
     this.course     = course;
     this.weeknumber = weeknumber;
     InitializeComponent();
     db = new SheaduleContext();
     Activity.DropDownStyle                =
         Building.DropDownStyle            =
             Auditor.DropDownStyle         =
                 Discipline.DropDownStyle  =
                     Teacher.DropDownStyle = Schedule.DropDownStyle = ComboBoxStyle.DropDownList;
     Building.Text         = "Б";
     AddList.SelectedIndex = 0;
     TascAdd_Load(null, null);
     AuditorAdd(null, null);
 }
Пример #6
0
 public TascAdd()
 {
     InitializeComponent();
     db = new SheaduleContext();
     Activity.DropDownStyle                                       =
         Building.DropDownStyle                                   =
             Course.DropDownStyle                                 =
                 Auditor.DropDownStyle                            =
                     Discipline.DropDownStyle                     =
                         Group.DropDownStyle                      =
                             Teacher.DropDownStyle                =
                                 Time.DropDownStyle               =
                                     WeekDay.DropDownStyle        =
                                         WeekNumber.DropDownStyle = ComboBoxStyle.DropDownList;
     Building.Text         = "Б";
     Course.Text           = "3";
     WeekNumber.Text       = "1";
     AddList.SelectedIndex = 0;
     TascAdd_Load(null, null);
     AuditorAdd(null, null);
 }
Пример #7
0
 public ScheduleAdd()
 {
     InitializeComponent();
     db = new SheaduleContext();
 }
Пример #8
0
 public DisciplineAdd()
 {
     InitializeComponent();
     db = new SheaduleContext();
 }
Пример #9
0
 public TeacherAdd()
 {
     InitializeComponent();
     db = new SheaduleContext();
 }