kougyokugentou
fbbe66f99f
Revision: Change firstTimeRun to GetNumAdmins
2021-01-29 22:12:05 -08:00
kougyokugentou
e2f50bec03
fix: update children query
2021-01-29 22:11:34 -08:00
kougyokugentou
9c4fa611af
Clean up unneeded usings
2021-01-29 21:17:51 -08:00
kougyokugentou
1f62a8d06e
Clean up unneeded usings
...
Check for existing guardian on 'save and close'
2021-01-29 21:17:26 -08:00
kougyokugentou
48a8e88bac
Clean up unneeded usings
...
Add TODO
FillGuardiansComboBox after gCrudForm is closed.
Move ensuring child has at least one guardian on save child button
ADD: add child code
2021-01-29 21:16:59 -08:00
kougyokugentou
4948d1d7ff
Clean up unneeded usings
2021-01-29 21:15:38 -08:00
kougyokugentou
472091c1b3
Clean up unneeded usings
2021-01-29 21:15:28 -08:00
kougyokugentou
2d02d2d1db
Adjust comment
2021-01-27 14:59:16 -08:00
kougyokugentou
5dbd4acc27
Add check if child has no guardians assigned, do not allow form closure.
2021-01-27 14:59:00 -08:00
kougyokugentou
d3390a8d74
Disable cancel button on first time run
...
Populate the pin number textbox with * if existing guardian
Validate Children upon save button
Add: Code to insert or update guardian
2021-01-27 14:58:27 -08:00
kougyokugentou
ce60c3bdf2
Implement first-time runcode to show the
...
new guardian form if no guardians
are found in the database.
2021-01-27 14:56:59 -08:00
kougyokugentou
8c0b4adc12
Update: InsertNewChild -- correct table
...
Add: InsertNewGuardian
Add: UpdateGuardian
2021-01-27 14:56:17 -08:00
kougyokugentou
1c263f475c
Change global guardian to public static so the child crud form can snag it.
...
Add first-time run code.
Add code to collect guardian upon save button click
Add form validation
Implement pinpad/pin number/pin reset.
2021-01-27 14:09:40 -08:00
kougyokugentou
c27cd7f975
Read the guardian from the guardian crud form upon guardian form crud form close.
...
Add some functionality to add a guardian to the child if the new guardian button was clicked.
Add validation, if child has no guardians display a message.
2021-01-27 14:08:19 -08:00
kougyokugentou
94c406b646
Change class guardian to public so the child crud form can read the Guardian object off the Guardian crud form.
2021-01-27 14:06:59 -08:00
kougyokugentou
68e67516c0
Validate input on child save & close
2021-01-27 09:20:15 -08:00
kougyokugentou
2b3c362ff4
no idea why VS regenerates the imagelist imagestream on building.
2021-01-27 09:19:02 -08:00
kougyokugentou
2f5c41f880
design changes
2021-01-25 22:07:45 -08:00
kougyokugentou
1e0ddf291b
Change: global guardian_id to public static for access by the guardian crud form.
...
Add: Source code comments.
Add: Button to implement guardian crud form
Add: Functionality to delete guardian.
2021-01-25 21:21:45 -08:00
kougyokugentou
cc242d4c3f
Initial swing of guardian crud form.
2021-01-25 21:20:13 -08:00
kougyokugentou
d1055ddf7d
Images and design
2021-01-25 21:19:46 -08:00
kougyokugentou
3a6f7cfee6
Add: GetGuardianByID
...
Add: DeleteGuardian
Change: RemoveGuardianFromChild to RemoveGuardianFromAllChildren
Add: DeleteAttendenceForGuardian
2021-01-25 21:19:14 -08:00
kougyokugentou
1916c27af6
Move guardian_id to global for the guardian crud form.
...
Add a found guardian combobox to add existing guardians to a child.
ADD: Code to add an existing guardian to a child
ADD: Code to pluck the guardian_id out of the currently selected combobox bound list of guardians
Wrap FileOK in try/catch.
2021-01-24 22:51:42 -08:00
kougyokugentou
93968ac789
Adjust comments.
2021-01-24 22:49:52 -08:00
kougyokugentou
68e6ba6a85
Design and images.
2021-01-24 22:49:26 -08:00
kougyokugentou
6d748c37c1
ADD: GetAllGuardians
...
ADD: AddNewGuardianToChild
ADD: CheckForOctomom
ADD: RemoveGuardianFromChild (Not sure if needed)
2021-01-24 22:49:00 -08:00
kougyokugentou
c22b02600e
Add displayname for the found guardian combobox
2021-01-24 22:48:07 -08:00
kougyokugentou
dfad7eb168
update comment
2021-01-24 22:47:43 -08:00
kougyokugentou
3ca5028917
SHELL: Guardian crud form.
2021-01-23 20:36:52 -08:00
kougyokugentou
0eb4c922d0
Add: photo from disk
2021-01-23 20:23:06 -08:00
kougyokugentou
91410b809d
Visual studio likes reordering the designer.cs for some reason.
2021-01-23 20:22:41 -08:00
kougyokugentou
0890cc13cf
Add program icon
...
Remove sqliteCommand1, that was there accidentally and not needed.
2021-01-23 20:21:15 -08:00
kougyokugentou
8d9b13af0d
Add program icon.
2021-01-23 20:20:36 -08:00
kougyokugentou
2e501e5133
Pop child object up to global.
...
Add DOB picker to form
Add some starter code to save/update and create a new child. Update should be done since it doesn't touch guardians.
2021-01-22 23:18:39 -08:00
kougyokugentou
e8b9d3f50e
Crud form design changes
2021-01-22 23:17:30 -08:00
kougyokugentou
25db3a9f7d
Add DOB to from the datasource to the main child crud form.
2021-01-22 23:17:04 -08:00
kougyokugentou
15015c68da
Add code to:
...
InsertNewChild
UpdateChild
2021-01-22 23:16:32 -08:00
kougyokugentou
5ad5e4578c
change ImageToByteArray to static.
...
Add check to see if the imageIn equals the resource, if so returns null.
2021-01-22 23:16:08 -08:00
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