Click here to Skip to main content
15,879,326 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to draw a circle in C# Pin
DaveyM692-Jan-10 2:34
professionalDaveyM692-Jan-10 2:34 
QuestionRe: How to draw a circle in C# Pin
Luc Pattyn2-Jan-10 3:05
sitebuilderLuc Pattyn2-Jan-10 3:05 
AnswerRe: How to draw a circle in C# [modified] Pin
DaveyM692-Jan-10 3:14
professionalDaveyM692-Jan-10 3:14 
QuestionLicence key Generate Pin
@nisha 2n1-Jan-10 21:36
@nisha 2n1-Jan-10 21:36 
AnswerRe: Licence key Generate Pin
venomation1-Jan-10 22:26
venomation1-Jan-10 22:26 
AnswerRe: Licence key Generate Pin
Pete O'Hanlon1-Jan-10 22:47
mvePete O'Hanlon1-Jan-10 22:47 
QuestionCreating trial version software Pin
Milind Panchal1-Jan-10 21:28
Milind Panchal1-Jan-10 21:28 
AnswerRe: Creating trial version software Pin
venomation1-Jan-10 22:22
venomation1-Jan-10 22:22 
You can use preprocessors for example you could place this statement before your declare the namespaces:

#define TRIAL
using System..... ect


and in the form load event you could:

#if TRIAL
if (firstusedate.days < firstusedate.days + 15)
{
MessageBox.Show("Sorry trial expired");
System.Thread.Sleep(3000);
}
#endif

My answer is pretty vague but you should get the idea, feel free to ask if there is still some problems Smile | :)
GeneralRe: Creating trial version software Pin
Dave Kreskowiak2-Jan-10 9:30
mveDave Kreskowiak2-Jan-10 9:30 
GeneralRe: Creating trial version software Pin
venomation2-Jan-10 12:25
venomation2-Jan-10 12:25 
AnswerRe: Creating trial version software Pin
Isaac Gordon1-Jan-10 22:37
Isaac Gordon1-Jan-10 22:37 
QuestionCombobox in C# Pin
Anu_Bala1-Jan-10 17:59
Anu_Bala1-Jan-10 17:59 
QuestionAny ideas on making this code better? Pin
venomation1-Jan-10 15:50
venomation1-Jan-10 15:50 
AnswerRe: Any ideas on making this code better? Pin
#realJSOP2-Jan-10 3:00
mve#realJSOP2-Jan-10 3:00 
QuestionNewbie Question Pin
kruegersck1-Jan-10 12:23
kruegersck1-Jan-10 12:23 
AnswerRe: Newbie Question Pin
Eric Dahlvang1-Jan-10 13:18
Eric Dahlvang1-Jan-10 13:18 
AnswerRe: Newbie Question Pin
Abhinav S1-Jan-10 16:58
Abhinav S1-Jan-10 16:58 
AnswerRe: Newbie Question Pin
Isaac Gordon1-Jan-10 22:48
Isaac Gordon1-Jan-10 22:48 
QuestionState signalling from windows services Pin
minnie mouse1-Jan-10 11:43
minnie mouse1-Jan-10 11:43 
AnswerRe: State signalling from windows services Pin
Jimmanuel1-Jan-10 12:25
Jimmanuel1-Jan-10 12:25 
GeneralRe: State signalling from windows services Pin
minnie mouse2-Jan-10 8:54
minnie mouse2-Jan-10 8:54 
QuestionHow to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0) Pin
Gilad Kapelushnik1-Jan-10 11:19
Gilad Kapelushnik1-Jan-10 11:19 
GeneralRe: How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0) [modified] Pin
harold aptroot1-Jan-10 11:24
harold aptroot1-Jan-10 11:24 
GeneralRe: How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0) Pin
Gilad Kapelushnik1-Jan-10 11:51
Gilad Kapelushnik1-Jan-10 11:51 
GeneralRe: How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0) Pin
harold aptroot1-Jan-10 12:19
harold aptroot1-Jan-10 12:19 

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.