Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Richtext box Ctrl + I Pin
AB77716-Aug-06 19:09
AB77716-Aug-06 19:09 
QuestionSecuring Software Pin
Stick^4-Aug-06 20:16
Stick^4-Aug-06 20:16 
AnswerRe: Securing Software Pin
Christian Graus4-Aug-06 22:58
protectorChristian Graus4-Aug-06 22:58 
GeneralRe: Securing Software Pin
Stick^4-Aug-06 23:35
Stick^4-Aug-06 23:35 
GeneralRe: Securing Software Pin
Christian Graus4-Aug-06 23:45
protectorChristian Graus4-Aug-06 23:45 
QuestionHow to host a socket server Pin
vik204-Aug-06 20:12
vik204-Aug-06 20:12 
Questionhow to convert float value to time? Pin
Nagraj Naik4-Aug-06 19:44
Nagraj Naik4-Aug-06 19:44 
AnswerRe: how to convert float value to time? Pin
Expert Coming4-Aug-06 21:09
Expert Coming4-Aug-06 21:09 
QuestionHow to assign a specific value to all the array elements at the time of initilization? Pin
signbit4-Aug-06 19:29
signbit4-Aug-06 19:29 
AnswerRe: How to assign a specific value to all the array elements at the time of initilization? Pin
Stefan Troschuetz4-Aug-06 21:46
Stefan Troschuetz4-Aug-06 21:46 
QuestionInvalid certificate [modified] Pin
stellasworkinc4-Aug-06 17:35
stellasworkinc4-Aug-06 17:35 
QuestionDear Expert .. Problem with Thread Pin
Aldorado4-Aug-06 12:54
Aldorado4-Aug-06 12:54 
AnswerRe: Dear Expert .. Problem with Thread Pin
Rob Graham4-Aug-06 16:18
Rob Graham4-Aug-06 16:18 
GeneralRe: Dear Expert .. Problem with Thread Pin
Aldorado5-Aug-06 21:28
Aldorado5-Aug-06 21:28 
GeneralRe: Dear Expert .. Problem with Thread Pin
Rob Graham7-Aug-06 5:45
Rob Graham7-Aug-06 5:45 
QuestionA new type of number incrementor.... perhaps? Pin
CAgent0074-Aug-06 12:08
CAgent0074-Aug-06 12:08 
To the "Code Project" community, I thank you for reading my question.

I am creating a business application (C# windows app) for my parents, and one of my worries is that I need to create some type of method of incrementing the "Order Number" or "Invoice Number" every time a new order is created, regardless if the program is running 24/7 or if the application is closed. ... Basically, I need a method to allow the application to remember what "Order/Invoice Number" it was on and increment it by one every time the application prints a form and saves the number for the next invoice somewhere (either within the program or a clever memory usage, I am not too clever today...).

Right now I am using a disabled and unviewable NumericUpDown control to control the order/invoice number and a label to display it. I think this can work, but I do not know how to have the program automatically save the number and increment it for the next form when it opens up again. I can increment it once, but how to do it every time when a new order is needed?

I hope I am clear... Unsure | :~ But please be kind in letting me know if I am not clear or if some type of Dynamic Binding or some advanced feature I don't know about will help me out with this.

Thanks for the help!
- Charles
AnswerRe: A new type of number incrementor.... perhaps? Pin
Guffa4-Aug-06 12:15
Guffa4-Aug-06 12:15 
GeneralRe: A new type of number incrementor.... perhaps? Pin
CAgent0075-Aug-06 10:52
CAgent0075-Aug-06 10:52 
QuestionRe: A new type of number incrementor.... perhaps? Pin
CAgent0076-Aug-06 11:27
CAgent0076-Aug-06 11:27 
AnswerRe: A new type of number incrementor.... perhaps? Pin
Leslie Sanford4-Aug-06 16:01
Leslie Sanford4-Aug-06 16:01 
QuestionTimers Pin
SoftcodeSoftware4-Aug-06 10:51
SoftcodeSoftware4-Aug-06 10:51 
AnswerRe: Timers Pin
Not Active4-Aug-06 11:11
mentorNot Active4-Aug-06 11:11 
GeneralRe: Timers Pin
SoftcodeSoftware4-Aug-06 11:16
SoftcodeSoftware4-Aug-06 11:16 
GeneralRe: Timers Pin
Dave Kreskowiak4-Aug-06 11:53
mveDave Kreskowiak4-Aug-06 11:53 
GeneralRe: Timers Pin
SoftcodeSoftware4-Aug-06 12:22
SoftcodeSoftware4-Aug-06 12:22 

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.