Click here to Skip to main content
15,905,325 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get const-collection from code? Pin
DaveyM6921-Apr-09 4:49
professionalDaveyM6921-Apr-09 4:49 
GeneralRe: Get const-collection from code? Pin
OriginalGriff21-Apr-09 4:54
mveOriginalGriff21-Apr-09 4:54 
GeneralRe: Get const-collection from code? Pin
Pete O'Hanlon21-Apr-09 4:57
mvePete O'Hanlon21-Apr-09 4:57 
GeneralRe: Get const-collection from code? Pin
OriginalGriff21-Apr-09 5:07
mveOriginalGriff21-Apr-09 5:07 
AnswerRe: Get const-collection from code? Pin
Pete O'Hanlon21-Apr-09 4:56
mvePete O'Hanlon21-Apr-09 4:56 
GeneralRe: Get const-collection from code? Pin
Ariadne22-Apr-09 2:02
Ariadne22-Apr-09 2:02 
AnswerRe: Get const-collection from code? Pin
Rolando CC21-Apr-09 5:30
professionalRolando CC21-Apr-09 5:30 
QuestionAccessing File from Remote PC Pin
satsumatable21-Apr-09 4:21
satsumatable21-Apr-09 4:21 
AnswerRe: Accessing File from Remote PC Pin
Rolando CC21-Apr-09 5:39
professionalRolando CC21-Apr-09 5:39 
Questionthe best way to draw a calendar in C# Pin
student198821-Apr-09 4:10
student198821-Apr-09 4:10 
AnswerRe: the best way to draw a calendar in C# Pin
Rob Philpott21-Apr-09 4:44
Rob Philpott21-Apr-09 4:44 
GeneralRe: the best way to draw a calendar in C# Pin
student198821-Apr-09 5:20
student198821-Apr-09 5:20 
GeneralRe: the best way to draw a calendar in C# Pin
musefan21-Apr-09 5:54
musefan21-Apr-09 5:54 
GeneralRe: the best way to draw a calendar in C# Pin
Rob Philpott21-Apr-09 6:00
Rob Philpott21-Apr-09 6:00 
GeneralRe: the best way to draw a calendar in C# Pin
student198821-Apr-09 11:05
student198821-Apr-09 11:05 
GeneralRe: the best way to draw a calendar in C# Pin
22over721-Apr-09 11:41
22over721-Apr-09 11:41 
Questionlistbox string text unorganized Pin
neodeaths21-Apr-09 4:05
neodeaths21-Apr-09 4:05 
AnswerRe: listbox string text unorganized Pin
Eddy Vluggen21-Apr-09 4:31
professionalEddy Vluggen21-Apr-09 4:31 
QuestionSquare Wave using C# Pin
spalanivel21-Apr-09 3:46
spalanivel21-Apr-09 3:46 
AnswerRe: Square Wave using C# Pin
Rob Philpott21-Apr-09 3:49
Rob Philpott21-Apr-09 3:49 
GeneralRe: Square Wave using C# Pin
spalanivel21-Apr-09 4:00
spalanivel21-Apr-09 4:00 
GeneralRe: Square Wave using C# Pin
Rob Philpott21-Apr-09 4:40
Rob Philpott21-Apr-09 4:40 
Okidoke, you don't need to worry about the X-Axis, this just always increments. So you've got an array of booleans which alter (which is pointless really as we can draw a square wave by appreciating its repeating manner).

Graphics wise you'll want a windows forms application. Derive a class from Panel. In the derived classes override OnPaint.

You get a Graphics object given to you by that which allows you to draw lines and such things.

Create the loop and draw the lines. I can't offer much more help without knowing about things like frequency, scaling etc.

Regards,
Rob Philpott.

GeneralRe: Square Wave using C# Pin
spalanivel21-Apr-09 19:38
spalanivel21-Apr-09 19:38 
AnswerRe: Square Wave using C# Pin
Wes Aday21-Apr-09 3:57
professionalWes Aday21-Apr-09 3:57 
AnswerRe: Square Wave using C# Pin
stancrm21-Apr-09 4:10
stancrm21-Apr-09 4:10 

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.