Example #1
0
        public wpfUpdateDesc()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Example #2
0
        public wpfDescription()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Example #3
0
        public wpfStudentEdit()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Example #4
0
        public wpfMoreGroupDetail()
        {
            InitializeComponent();
            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();
        }
Example #5
0
        public wpfDescDetail()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();

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

            dgDesc.ItemsSource = dataTracker.makeDescriptionList();
        }
Example #6
0
        public wpfStudentDetail()
        {
            Sqlite = new clsSQLite();

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

            InitializeComponent();

            dgStudentList.ItemsSource = dataTracker.makeStudentList();
        }
Example #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>();
        }
Example #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();
        }
Example #9
0
        public wpfGroupDetail()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();



            dgGroupList.ItemsSource = dataTracker.makeGroupList();
        }
Example #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());
        }
Example #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;
        }
Example #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);
            }
        }