Commit Graph

55 Commits

Author SHA1 Message Date
kougyoku
3f3ee50ffa Publish the prototype. 2019-10-29 09:43:53 -07:00
kougyoku
49ab47e42a Allow only one instance of the app to run. 2019-10-29 09:39:37 -07:00
kougyoku
81cff101b6 Pretty up the customer view. 2019-10-29 09:19:11 -07:00
kougyoku
b4a5bef462 Pretty up the customer view. 2019-10-29 09:09:20 -07:00
kougyoku
8de6f7edd9 Rebuild with SQLite.Interop.Dll added 2019-10-24 21:34:47 -07:00
kougyoku
9e60efa7b1 Publish 2019-10-24 21:23:16 -07:00
kougyoku
399183ac75 Add CsvHelper nuget package 2019-10-24 20:59:03 -07:00
kougyoku
f499a53fc6 Add csvhelper nuget package
Update exit (Alt-F4) to Environment.Exit(0)
Add: Generate report from SQL Database.
Add: Input validation
2019-10-24 20:58:52 -07:00
kougyoku
d0b12a0141 Update customer view font size. 2019-10-22 08:01:28 -07:00
kougyoku
deb2bc0a0c Move refreshing employee view above the messagebox for adding. 2019-10-22 08:00:43 -07:00
kougyoku
59ae663c7b Clean build 2019-10-21 20:58:39 -07:00
kougyoku
3dbfae90ca Restrict num_bags dropdown menu to choose from menu items only.
Restrict employee datagrid view for customerid and customer name as read only items.
2019-10-19 21:00:10 -07:00
kougyoku
b892dd78ab No longer allow the customer view screen to be closed outside of application exit. 2019-10-18 16:14:18 -07:00
kougyoku
3c8e380828 Dock the customer view datagrid neatly into a maximized screen. 2019-10-18 16:13:56 -07:00
kougyoku
6f82609b9a Add icon to program.
Resize customer view to maximum effort
2019-10-18 15:44:23 -07:00
kougyoku
7d466f0c4f Add runway program icon 2019-10-18 15:10:22 -07:00
kougyoku
308d164532 Uncheck the ClickOnce security settings for now so the app.publish directory is not created. 2019-10-17 13:17:33 -07:00
kougyoku
2cc39e7281 Add publishing information for later use. 2019-10-16 15:48:00 -07:00
kougyoku
b67a16c35b schema 2019-10-16 15:11:00 -07:00
kougyoku
06acaae9df Update employeeview class to set id property.
Complete ArchiveCustomer functionality.
Add: Update customer status query when status is changed on employee view
2019-10-16 15:10:44 -07:00
kougyoku
c74451cfd1 schema changes 2019-10-16 15:09:48 -07:00
kougyoku
247bc6d874 Setup employee datagrid view. 2019-10-16 15:09:37 -07:00
kougyoku
559871d853 Add: Refresh employee view after clicking the add button.
Change: Clear the employee datagrid view after adding a new cutsomer.
Update/Bugfix: Incorrectly updating the combobox selection when populating the datagrid view. Fixed.
Add: Delete button functionality.
Add: Event hooking status combobox into a selection change commited event to automatically update db/customer view when status changes.
2019-10-16 15:09:14 -07:00
kougyoku
fa950f79b0 Hook up employee view to datasource. 2019-10-15 13:04:57 -07:00
kougyoku
93a6e6a691 Moar SQL 2019-10-15 13:04:22 -07:00
kougyoku
7116e25a81 Update employee view class
update employee view query
update methods to change from employeeview to reportview
2019-10-15 08:42:17 -07:00
kougyoku
74af82d70c Update query for customer view.
Add new report view class in prep to change employeeview class.
2019-10-15 08:03:15 -07:00
kougyoku
9c26d0519e Add delegate for updating customer view from the employee add button. 2019-10-14 09:59:02 -07:00
kougyoku
4fe9f84f7e Initial code for add customer. 2019-10-11 23:46:15 -07:00
kougyoku
02421864b1 Update add customer query 2019-10-11 23:45:10 -07:00
kougyoku
56610459ba Change tab index 2019-10-11 23:44:49 -07:00
kougyoku
a761b77714 Blank the initial DB that ships with the product. 2019-10-11 21:34:30 -07:00
kougyoku
a8eeee7e04 Add timer 2019-10-11 21:32:41 -07:00
kougyoku
8353694f8d Drop a timer onto Customer View form.
Add datagrid view to display the SQL data.
2019-10-11 21:32:24 -07:00
kougyoku
8781c5219d Drop a timer onto customer view to refresh the customer list.
Add RefreshCustomerView() to update the customer list on demand.
2019-10-11 21:31:43 -07:00
kougyoku
58006f2955 Update CustomerView class properties to match the columns being selected out of the database.
Remove 'static' from all functions under SqliteDataAccess class.
Write correct SQL Query for LoadCustomerView.
2019-10-11 21:30:25 -07:00
kougyoku
d6d3e0ca0d Change status field of employee view model to integer.
Add SQL query to LoadEmployeeView()
Add: SaveCustomer() and ArchiveCustomer() functions.
2019-10-11 15:28:31 -07:00
kougyoku
963c3ff3a5 Update archive table 2019-10-11 15:27:25 -07:00
kougyoku
5f874c07ae configSections MUST be at the TOP of App.config 2019-10-10 10:40:14 -07:00
kougyoku
d8eb8dcdcd Remove ref to btnAdd.click 2019-10-10 10:36:48 -07:00
kougyoku
ec0b1a00ae Fix VS Griping.
Fix loadCustomerView
2019-10-10 10:36:32 -07:00
kougyoku
2a8702e1a9 More SQL stuff 2019-10-10 10:13:30 -07:00
kougyoku
82596e4be0 Add sqlite core and dapper nuget packages 2019-10-08 10:49:31 -07:00
kougyoku
fd6d682a04 Add skeleton to generate employee report 2019-10-08 10:49:09 -07:00
kougyoku
2b2054d14a Remove employee name combo box and change it to simple textbox entry.
Add generate report under File
2019-10-08 10:48:43 -07:00
kougyoku
f742e7a5fa Add SQLite DB 2019-10-08 10:46:04 -07:00
kougyoku
4d89b9d233 update gitignore 2019-10-08 10:44:03 -07:00
kougyoku
d66cbdc208 Load customer view when starting program 2019-10-07 15:43:50 -07:00
kougyoku
821ea360f0 Remove storage.ide from git repo 2019-10-07 15:43:34 -07:00
kougyoku
2d9e7639eb Update gitignore 2019-10-07 15:43:05 -07:00