Пример #1
0
        public wpfUpdateDesc()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Пример #2
0
        public wpfDescription()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Пример #3
0
        public wpfStudentEdit()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Пример #4
0
        public wpfMoreGroupDetail()
        {
            InitializeComponent();
            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();
        }
Пример #5
0
        public wpfDescDetail()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();

            Query       = new SQLquery();
            dataTracker = new clsDataTracker();

            dgDesc.ItemsSource = dataTracker.makeDescriptionList();
        }
Пример #6
0
        public wpfStudentDetail()
        {
            Sqlite = new clsSQLite();

            Query       = new SQLquery();
            dataTracker = new clsDataTracker();

            InitializeComponent();

            dgStudentList.ItemsSource = dataTracker.makeStudentList();
        }
Пример #7
0
        public clsDataTracker()
        {
            Sqlite      = new clsSQLite();
            Query       = new SQLquery();
            descList    = new List <DescriptionDetail>();
            StudentList = new List <StudentDetail>();
            groupList   = new List <GroupDetail>();
            sGroupList  = new List <StudentGroupList>();
            gpAList     = new List <GroupAssignmentList>();

            studentScore = new List <StudentScoreDetail>();
        }
Пример #8
0
        public wpfStudent()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();

            if (int.TryParse(Sqlite.ExecuteScalarSQL(Query.getMaxIndex()).ToString(), out int mId))
            {
                maxId = mId + 1;
            }
            tbSId.IsEnabled = false;
            tbSId.Text      = maxId.ToString();
        }
Пример #9
0
        public wpfGroupDetail()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();



            dgGroupList.ItemsSource = dataTracker.makeGroupList();
        }
Пример #10
0
        public wpfAddStudent()
        {
            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();


            InitializeComponent();

            lblGroup.Content              = groupName;
            dgAllStudents.ItemsSource     = dataTracker.makeStudentList();
            dgStudentsInGroup.ItemsSource = dataTracker.getGroupStudents(groupID.ToString());
        }
Пример #11
0
        public wpfGroup()
        {
            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();

            InitializeComponent();
            FocusManager.SetFocusedElement(this, txtGroupName);
            dteDate.SelectedDate = DateTime.Today;
            for (int i = 0; i < hours.Length; i++)
            {
                cboxHour.Items.Add(hours[i]);
            }
            for (int i = 0; i < minutes.Length; i++)
            {
                cboxMin.Items.Add(minutes[i]);
            }
            Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;
        }
Пример #12
0
        public wpfDataSheet()
        {
            Sqlite = new clsSQLite();

            Query       = new SQLquery();
            dataTracker = new clsDataTracker();

            InitializeComponent();
            Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;



            //dgDesc.ItemsSource = dataTracker.makeDescriptionList();

            //  dgLesson.ItemsSource = dataTracker.makeStudentList();

            dataTracker.makeGroupList();
            for (int i = 0; i < dataTracker.groupList.Count; i++)
            {
                comboxGroup.Items.Add(dataTracker.groupList[i].groupName);
            }
        }