Beispiel #1
0
        public AddEditStudent(int id = 0)
        {
            InitializeComponent();
            ComboboxHelper.InitComboboxGroups(comboAddEdit);

            _studentId = id;

            GetStudentData();
            tbName.Select();
        }
        public Main()
        {
            InitializeComponent();
            ComboboxHelper.InitComboboxGroups(comboMain);
            RefreshDiary();
            SetColumnsHeader();

            if (IsMaximize)
            {
                WindowState = FormWindowState.Maximized;
            }
        }