public GroupAdd() { InitializeComponent(); db = new SheaduleContext(); FacultyName.DropDownStyle = ComboBoxStyle.DropDownList; FacultyName.SelectedIndex = 0; }
public Auditor() { InitializeComponent(); db = new SheaduleContext(); AuditorBuilding.DropDownStyle = ComboBoxStyle.DropDownList; AuditorBuilding.SelectedIndex = 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); }
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); }
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); }
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); }
public ScheduleAdd() { InitializeComponent(); db = new SheaduleContext(); }
public DisciplineAdd() { InitializeComponent(); db = new SheaduleContext(); }
public TeacherAdd() { InitializeComponent(); db = new SheaduleContext(); }