Click here to Skip to main content
13,836,679 members
   

C#

 
GeneralRe: Smtpclient "One of the streams has already been used and can't be reset to the origin." Pin
jkirkerx13-Jan-19 10:30
professionaljkirkerx13-Jan-19 10:30 
QuestionC# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx7-Jan-19 13:54
professionaljkirkerx7-Jan-19 13:54 
AnswerRe: C# Winforms, Pass a button click to a user control on the form. Pin
Dave Kreskowiak7-Jan-19 17:43
mveDave Kreskowiak7-Jan-19 17:43 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 7:29
professionaljkirkerx8-Jan-19 7:29 
AnswerRe: C# Winforms, Pass a button click to a user control on the form. Pin
OriginalGriff7-Jan-19 21:24
protectorOriginalGriff7-Jan-19 21:24 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 7:33
professionaljkirkerx8-Jan-19 7:33 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
OriginalGriff8-Jan-19 7:47
protectorOriginalGriff8-Jan-19 7:47 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 8:21
professionaljkirkerx8-Jan-19 8:21 
Your right on the money with that thought.

I made a quotation model for MongoDB, and placed a public property of the model on the user control.
On a new or edit, I just feed the model into the user control, and set the rest of the data such as
Expiration date, Quotation Items, Notes and then click save on the parent form and my model is complete.
Then I can do a CRUD write of the quotation to MongoDb as one complete document with the quoted items inside.

I feel pretty good about the design and I think it's solid.

[edit]
I said invoice but it's really a quotation creator.
The program scrape a distributor website of 5000+ products using Agility Pack and allows you to make Excel sheets in the morning for the latest pricing and to look for deals. but to add value, I wanted to be able to create quotes off the data with a few simple clicks and email them as a PDF. Going to post it on GitHub soon to show off my work.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

QuestionMEF Question Pin
Kevin Marois7-Jan-19 12:48
professionalKevin Marois7-Jan-19 12:48 
AnswerRe: MEF Question Pin
Mycroft Holmes7-Jan-19 15:32
memberMycroft Holmes7-Jan-19 15:32 
AnswerRe: MEF Question Pin
Dave Kreskowiak7-Jan-19 17:40
mveDave Kreskowiak7-Jan-19 17:40 
AnswerRe: MEF Question Pin
Pete O'Hanlon7-Jan-19 20:38
protectorPete O'Hanlon7-Jan-19 20:38 
QuestionFailure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
Member 141105447-Jan-19 5:15
memberMember 141105447-Jan-19 5:15 
AnswerRe: Failure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
BillWoodruff7-Jan-19 5:32
mveBillWoodruff7-Jan-19 5:32 
AnswerRe: Failure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
OriginalGriff7-Jan-19 5:46
protectorOriginalGriff7-Jan-19 5:46 
QuestionIP commands Pin
Member 103699864-Jan-19 13:49
memberMember 103699864-Jan-19 13:49 
AnswerRe: IP commands Pin
Luc Pattyn4-Jan-19 16:24
professionalLuc Pattyn4-Jan-19 16:24 
QuestionUsing Google Calendar API and email send a invitation to a user Pin
Nitish Prasad Satpathy4-Jan-19 5:02
memberNitish Prasad Satpathy4-Jan-19 5:02 
AnswerRe: Using Google Calendar API and email send a invitation to a user Pin
Richard MacCutchan4-Jan-19 5:16
protectorRichard MacCutchan4-Jan-19 5:16 
AnswerRe: Using Google Calendar API and email send a invitation to a user Pin
Pete O'Hanlon4-Jan-19 5:54
protectorPete O'Hanlon4-Jan-19 5:54 
QuestionVisual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 21:47
mveBillWoodruff3-Jan-19 21:47 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 23:17
protectorRichard MacCutchan3-Jan-19 23:17 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 23:37
mveBillWoodruff3-Jan-19 23:37 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 23:52
protectorRichard MacCutchan3-Jan-19 23:52 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 5:31
mveBillWoodruff4-Jan-19 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190114.1 | Last Updated 23 Jan 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid