Exemplo n.º 1
0
        public wpfUpdateDesc()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Exemplo n.º 2
0
        public wpfDescription()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Exemplo n.º 3
0
        public wpfStudentEdit()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();
        }
Exemplo n.º 4
0
        public wpfMoreGroupDetail()
        {
            InitializeComponent();
            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();
        }
Exemplo n.º 5
0
        public wpfDescDetail()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();

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

            dgDesc.ItemsSource = dataTracker.makeDescriptionList();
        }
Exemplo n.º 6
0
        public wpfStudentDetail()
        {
            Sqlite = new clsSQLite();

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

            InitializeComponent();

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

            Sqlite = new clsSQLite();

            Query = new SQLquery();

            dataTracker = new clsDataTracker();



            dgGroupList.ItemsSource = dataTracker.makeGroupList();
        }
Exemplo n.º 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());
        }
Exemplo n.º 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;
        }
Exemplo n.º 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);
            }
        }