Commit Graph

110 Commits

Author SHA1 Message Date
kougyokugentou
76fe5962a1 Add to-do for ted 2021-01-22 22:40:21 -08:00
kougyokugentou
8164b49e67 Revert "Add the OpenCVSharp package to take a photo from camera."
This reverts commit 25f9e48ff4.
2021-01-22 22:38:17 -08:00
kougyokugentou
07699e15ac Revert "Add the OpenCVSharp package to take a photo from camera."
This reverts commit e2a36e00c9.
2021-01-22 22:38:03 -08:00
kougyokugentou
3211d39b37 Revert "Add code to take photo from camera, needs fine-tuning"
This reverts commit bdeb116e14.
2021-01-22 22:37:53 -08:00
kougyokugentou
bdeb116e14 Add code to take photo from camera, needs fine-tuning 2021-01-22 21:35:23 -08:00
kougyokugentou
e2a36e00c9 Add the OpenCVSharp package to take a photo from camera. 2021-01-22 21:34:50 -08:00
kougyokugentou
25f9e48ff4 Add the OpenCVSharp package to take a photo from camera. 2021-01-22 21:34:29 -08:00
kougyokugentou
cffef0547e Add: Fill gender combo box with enum
Add: Read in child gender from DB using enum
Add: Clear guardian datagridview when guardians are loaded.
2021-01-22 20:33:54 -08:00
kougyokugentou
5b286c4930 Bugfix correct child_id from datagridview. 2021-01-22 20:33:01 -08:00
kougyokugentou
2786439c52 add another stock image 2021-01-22 20:32:37 -08:00
kougyokugentou
f4b54e8c6f Add: Basic functionality for the child crud form. 2021-01-21 22:58:52 -08:00
kougyokugentou
4166541b39 Gui for the child crud form 2021-01-21 22:58:20 -08:00
kougyokugentou
08ba89f954 Images 2021-01-21 22:57:49 -08:00
kougyokugentou
8d94f5fc0e Remove the const string as we don't need them here. 2021-01-21 22:57:11 -08:00
kougyokugentou
6ca8d8453e Add: GetChildByID
Add: GetGuardiansByChild() //MAY NEED DEBUGGING
2021-01-21 22:56:50 -08:00
kougyokugentou
acf7b2a405 Update id field to numeric up/down 2021-01-21 22:56:22 -08:00
kougyokugentou
6aee50df6d Add more mock data 2021-01-21 22:55:52 -08:00
kougyokugentou
1520a97dc6 Add: Initial commit of the child crud form. 2021-01-20 22:29:15 -08:00
kougyokugentou
7995b75774 Add in child_id global variable for future use to save the currently selected child on the datagrid. 2021-01-20 22:28:53 -08:00
kougyokugentou
d774874c1d Add child object as a datasource for the child crud form 2021-01-20 22:28:01 -08:00
kougyokugentou
ae5d3e72a5 Add a bunch of images from the VS2019 Image Library 2021-01-20 22:27:29 -08:00
kougyokugentou
6f7effd3b7 Add buttons for crud operations
Update datagridview photo column to stretch the photo
2021-01-20 19:46:10 -08:00
kougyokugentou
95baba1ee1 SHELL: Buttons for crud operations
Move loading/refreshing datagridview into separate function so I can call it later on form add/update close.
Add color commentary.
2021-01-20 19:45:18 -08:00
kougyokugentou
7b52c262cc Datagrid view of admin form, populate with all children 2021-01-20 16:11:26 -08:00
kougyokugentou
972898ccfa Select all children and order by last name 2021-01-20 16:11:09 -08:00
kougyokugentou
15f30ce8f8 Initial design of admin form. 2021-01-18 20:43:59 -08:00
kougyokugentou
02b4a958f3 Add query to get all children from DB from admin form 2021-01-18 20:43:26 -08:00
kougyokugentou
c037591451 add documentation 2021-01-18 20:21:36 -08:00
kougyokugentou
043f498438 Add comments to the source code.
Add code to update panel color based on child signed/in out status. May need changed if student has picture.
Add code to implement the admin button and show that form.
2021-01-17 17:58:59 -08:00
kougyokugentou
3da46bdba1 Add comments to the source code. 2021-01-17 17:57:46 -08:00
kougyokugentou
ef7fc9fd68 Add: main admin form 2021-01-17 17:57:19 -08:00
kougyokugentou
450a002ef9 Shell: main admin form 2021-01-17 17:57:00 -08:00
kougyokugentou
716c91872c Update the child button to display name, status, and timestamp. 2021-01-17 15:19:20 -08:00
kougyokugentou
cd7523c38b Update GetChildInOut and SignChildInOut to use Attendence model so the button on the main sign/in out form can display the timestamp as well as the status. 2021-01-17 15:19:03 -08:00
kougyokugentou
3af94d7f92 Add comment (not region) for crud operations within each region.
Add code to sign a student in or out.
Add code to get a student sign in/out status.
2021-01-14 21:38:58 -08:00
kougyokugentou
b677ba02c6 schema changes 2021-01-14 21:37:57 -08:00
kougyokugentou
8d55a168ec Populate the button text upon formload.
Update button text upon signing a student in or out.
2021-01-14 21:37:47 -08:00
kougyokugentou
2c3dd23422 Update DisplayName property. 2021-01-14 21:36:40 -08:00
kougyokugentou
b7697a01f8 Add code to wrangle images in/out of the sql database. 2021-01-14 16:21:12 -08:00
kougyokugentou
a6405a2ab7 add default photo 2021-01-14 16:20:53 -08:00
kougyokugentou
00795f7d43 Implement valid pin entry code (currently unreahable) 2021-01-14 16:20:41 -08:00
kougyokugentou
5b98e76cc9 Populate the main form with guardian's children 2021-01-14 16:20:01 -08:00
kougyokugentou
ec1ec572b9 add a default photo 2021-01-14 16:19:35 -08:00
kougyokugentou
bcfe17d4c3 Add a default photo 2021-01-14 16:19:11 -08:00
kougyokugentou
ca702e1ca2 Add query to get guardian object by pin#
Add query to get children by guardian object.
2021-01-13 20:15:20 -08:00
kougyokugentou
bf174c3003 somehow i lost some numbers, fix that. 2021-01-13 20:14:00 -08:00
kougyokugentou
c16b88c5b8 strPin needs to be static to access from frmMain.
Adjust PB&J to clear strPin after passing to frmMain.
2021-01-13 20:13:31 -08:00
kougyokugentou
3435e6161a Implement formload and admin button 2021-01-13 20:12:39 -08:00
kougyokugentou
0b8f630fc5 adjust firstname and lastname properties of child model to string (oops) 2021-01-13 20:12:07 -08:00
kougyokugentou
2a01029562 Ensure the SQLite Interop files get copied to the output directory on build. 2021-01-12 22:37:22 -08:00