Click here to Skip to main content
15,896,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: String to DateTime Pin
Rob Philpott26-May-09 3:26
Rob Philpott26-May-09 3:26 
AnswerRe: String to DateTime Pin
Dave Kreskowiak26-May-09 4:11
mveDave Kreskowiak26-May-09 4:11 
GeneralRe: String to DateTime Pin
Mirko198026-May-09 4:41
Mirko198026-May-09 4:41 
GeneralRe: String to DateTime Pin
Dave Kreskowiak26-May-09 7:40
mveDave Kreskowiak26-May-09 7:40 
GeneralRe: String to DateTime Pin
Vikram A Punathambekar26-May-09 7:57
Vikram A Punathambekar26-May-09 7:57 
GeneralRe: String to DateTime Pin
Dave Kreskowiak26-May-09 15:43
mveDave Kreskowiak26-May-09 15:43 
QuestionGraphics in c# Pin
gholfstok26-May-09 1:49
gholfstok26-May-09 1:49 
AnswerRe: Graphics in c# Pin
J4amieC26-May-09 2:30
J4amieC26-May-09 2:30 
A few pointers as follows:

1) Rather than calling .CreateGraphics() handle the OnPaint event which gives you access to the Graphics object of the current control. This saves you having to determine every time your form is invalidated as the OnPaint event is raised at that time.

2) On a computer screen (which is inherantly flat) it is absolutely impossible to make an image 3 dimentional. The best you can do is fool the users eyes (and therefore brain) into thinking that they are looking at a 3 dimensional image. To do this you use perspective, shading etc.

2d box:
---
| |
---

3d box:
 ___
/  /|
--- |
| |/
---


3) To make things clickable you could either a) Inherit your shape from the Control class whereby it will then receive click events or b) Handle the click event of the form and using the mouse location (provided by the event) determine if the click is within the bounds of your shape.
AnswerRe: Graphics in c# Pin
ScottM126-May-09 2:31
ScottM126-May-09 2:31 
QuestionException inside dll Pin
sujithkumarsl26-May-09 1:08
sujithkumarsl26-May-09 1:08 
Answer[Message Deleted] Pin
stancrm26-May-09 1:32
stancrm26-May-09 1:32 
GeneralRe: Exception inside dll Pin
Dave Kreskowiak26-May-09 4:06
mveDave Kreskowiak26-May-09 4:06 
General[Message Deleted] Pin
stancrm26-May-09 20:37
stancrm26-May-09 20:37 
GeneralRe: Exception inside dll Pin
Dave Kreskowiak27-May-09 1:31
mveDave Kreskowiak27-May-09 1:31 
AnswerRe: Exception inside dll Pin
adatapost26-May-09 1:35
adatapost26-May-09 1:35 
GeneralRe: Exception inside dll Pin
sujithkumarsl26-May-09 1:41
sujithkumarsl26-May-09 1:41 
GeneralRe: Exception inside dll Pin
J4amieC26-May-09 2:15
J4amieC26-May-09 2:15 
GeneralRe: Exception inside dll Pin
sujithkumarsl26-May-09 3:29
sujithkumarsl26-May-09 3:29 
GeneralRe: Exception inside dll Pin
Mirko198026-May-09 3:49
Mirko198026-May-09 3:49 
GeneralRe: Exception inside dll Pin
sujithkumarsl26-May-09 18:27
sujithkumarsl26-May-09 18:27 
General[Message Deleted] Pin
stancrm26-May-09 20:37
stancrm26-May-09 20:37 
GeneralRe: Exception inside dll Pin
sujithkumarsl26-May-09 21:12
sujithkumarsl26-May-09 21:12 
General[Message Deleted] Pin
stancrm26-May-09 22:19
stancrm26-May-09 22:19 
GeneralRe: Exception inside dll Pin
sujithkumarsl26-May-09 22:26
sujithkumarsl26-May-09 22:26 
QuestionHow to assign the text to toolstripstatus in runtime? Pin
savitri26-May-09 1:04
savitri26-May-09 1:04 

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.