Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LinesForm"/> class.
        /// </summary>
        public LinesForm()
        {
            this.lineLogic = SWKM.Setup.IoC.Resolve<LineLogic>();

            InitializeComponent();
            this.RefreshGrid();
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ExecuteCoursesForm"/> class.
        /// </summary>
        public ExecuteCoursesForm()
        {
            this.courseLogic = SWKM.Setup.IoC.Resolve<CourseLogic>();
            this.lineLogic = SWKM.Setup.IoC.Resolve<LineLogic>();

            InitializeComponent();

            this.RefreshComboBoxes();
            this.RefreshGrid();
        }
Пример #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CoursesForm"/> class.
        /// </summary>
        public CoursesForm()
        {
            this.courseLogic = SWKM.Setup.IoC.Resolve<CourseLogic>();
            this.lineLogic = SWKM.Setup.IoC.Resolve<LineLogic>();
            this.schedulePeriodLogic = SWKM.Setup.IoC.Resolve<SchedulePeriodLogic>();
            this.dayTypeLogic = SWKM.Setup.IoC.Resolve<DayTypeLogic>();
            this.exceptionLogic = SWKM.Setup.IoC.Resolve<ExceptionLogic>();

            InitializeComponent();

            this.RefreshComboBoxes();
            this.RefreshGrid();
        }
Пример #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EditCourseForm"/> class.
        /// </summary>
        /// <param name="form">The form.</param>
        public EditCourseForm(CoursesForm form)
        {
            this.courseLogic = SWKM.Setup.IoC.Resolve<CourseLogic>();
            this.lineLogic = SWKM.Setup.IoC.Resolve<LineLogic>();
            this.schedulePeriodLogic = SWKM.Setup.IoC.Resolve<SchedulePeriodLogic>();
            this.dayTypeLogic = SWKM.Setup.IoC.Resolve<DayTypeLogic>();
            this.exceptionLogic = SWKM.Setup.IoC.Resolve<ExceptionLogic>();
            this.coursesForm = form;

            InitializeComponent();
            this.Text = this.footerLbl.Text = "Dodaj nowy kurs";

            this.RefreshComboBoxes();
        }
Пример #5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EditLineForm"/> class.
        /// </summary>
        /// <param name="form">The form.</param>
        public EditLineForm(LinesForm form)
        {
            this.lineLogic = SWKM.Setup.IoC.Resolve<LineLogic>();
            this.stationLogic = SWKM.Setup.IoC.Resolve<StationLogic>();
            this.schedulePeriodLogic = SWKM.Setup.IoC.Resolve<SchedulePeriodLogic>();
            this.linesForm = form;

            InitializeComponent();
            this.Text = this.footerLbl.Text = "Dodaj nową linię";
            this.selectedExceptionList = new List<BaseIdNameDto>();
            this.selectedStationsList = new List<RouteStationDto>();

            this.ReloadData();
        }