kougyokugentou
24321c1573
Update frmChildCrud.cs
...
Add guard on "photo from cam" to ensure the child already exist in db before taking photo from camera.
Implement workaround functionality to populate the child crud form with the new photo from cam.
2021-02-19 22:21:40 -08:00
Ted Pickard
2fab77e079
Merge branch 'main' of https://github.com/kougyokugentou/GreatHomeChildcare into main
2021-02-17 17:56:00 -08:00
Ted Pickard
61b11bc9ee
Changed final statements on Bitmap conversion to allow for memory stream
2021-02-17 17:55:43 -08:00
kougyokugentou
ebd60afd5f
Clean up to-dos, they are done.
2021-02-10 21:55:07 -08:00
kougyokugentou
31f6bd7ef6
Bugfix: frmChildCrud.cs
...
Bugfix: Attaching an existing guardian to a new child now works correctly.
Remove: Messagebox for to-do on deleting a child is removed.
2021-02-10 21:41:38 -08:00
kougyokugentou
33a3d78fee
Bugfix frmChildCrud.cs
...
Bugfix: Add existing guardian to new child not working correctly. It was using the click when a guardian had already been assigned and erroneously causing a pop-up message.
2021-02-10 21:20:03 -08:00
kougyokugentou
f8e64956a4
Bugfix: Fill in guardian combo box after deleting a guardian.
2021-02-10 20:31:12 -08:00
Ted Pickard
d98547c786
Fixed numerous bugs and added function to convert bitmap images to Image data type. Need to work on sql retention to have web-cam images show up.
2021-02-10 14:12:47 -08:00
Ted Pickard
c17a463a05
Merge branch 'main' of https://github.com/kougyokugentou/GreatHomeChildcare into main
2021-02-05 17:10:32 -08:00
Ted Pickard
f2c3db3239
Added Db functionality to SnapshotWin. Will need to test if BitmapToByteArray conversions match up ImageToByteArray or changes need to be made on that front.
2021-02-05 17:09:56 -08:00
kougyokugentou
f6a28cbd66
Add: Delete button
...
Move: Last admin check to bool CheckIfLastAdmin
2021-02-02 22:07:04 -08:00
kougyokugentou
525b7b97e2
Add: Form validation before adding a guardian, either existing or new
...
Add: Capitalization of children's names and race.
2021-02-02 21:14:08 -08:00
kougyokugentou
e856320df9
Sloppy hax to ensure a guardian is attached to a new child.
...
I gave up on the all-in-one save button.
2021-01-30 12:53:48 -08:00
kougyokugentou
075929bbe6
Fix: child global needs to initialize to new child object.
...
Fix: picture box tags
Add: isAdmin column to guardian datagrid view
Add: Sanity check if deleting last admin
BUG: program inserts new child before attaching new guardian
2021-01-29 22:13:13 -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
5dbd4acc27
Add check if child has no guardians assigned, do not allow form closure.
2021-01-27 14:59:00 -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
68e67516c0
Validate input on child save & close
2021-01-27 09:20:15 -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
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
0eb4c922d0
Add: photo from disk
2021-01-23 20:23:06 -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
76fe5962a1
Add to-do for ted
2021-01-22 22:40:21 -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
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
f4b54e8c6f
Add: Basic functionality for the child crud form.
2021-01-21 22:58:52 -08:00
kougyokugentou
1520a97dc6
Add: Initial commit of the child crud form.
2021-01-20 22:29:15 -08:00