Click here to Skip to main content
15,914,417 members
Home / Discussions / C#
   

C#

 
QuestionConvolution Kernel Pin
Abdul Rahman Hamidy12-May-08 23:58
Abdul Rahman Hamidy12-May-08 23:58 
AnswerDouble Post - Please Ignore Pin
Giorgi Dalakishvili13-May-08 0:17
mentorGiorgi Dalakishvili13-May-08 0:17 
Questioncoding for a insert data to a table Pin
oshadhi12-May-08 23:42
oshadhi12-May-08 23:42 
AnswerRe: coding for a insert data to a table Pin
Rupesh Kumar Swami13-May-08 0:06
Rupesh Kumar Swami13-May-08 0:06 
AnswerRe: coding for a insert data to a table Pin
Christian Graus13-May-08 0:06
protectorChristian Graus13-May-08 0:06 
AnswerRe: coding for a insert data to a table Pin
Abdul Rahman Hamidy13-May-08 0:09
Abdul Rahman Hamidy13-May-08 0:09 
QuestionLoad WPF TreeView items in background Pin
Lutosław12-May-08 23:17
Lutosław12-May-08 23:17 
QuestionDrawLine() does not work Pin
nilam247712-May-08 22:53
nilam247712-May-08 22:53 
I'm trying to draw a line on the form in C#.
When i place the below draw line code in Form1_Load() method it does not draw the line when application starts. But if the same code is placed in Form1_Paint() method it works.
System.Drawing.Pen myPen = new System.Drawing.Pen(System.Drawing.Color.Red, 5);
System.Drawing.Graphics formGraphics = this.CreateGraphics();
formGraphics.DrawLine(myPen, 10, 10, 150, 200);

Why does the code not work in Form_Load(). Is is required that all graphics code needs to be executed in Form_Paint() method only?
AnswerRe: DrawLine() does not work Pin
Christian Graus12-May-08 23:01
protectorChristian Graus12-May-08 23:01 
QuestionRe: DrawLine() does not work Pin
nilam247712-May-08 23:07
nilam247712-May-08 23:07 
AnswerRe: DrawLine() does not work Pin
Christian Graus12-May-08 23:11
protectorChristian Graus12-May-08 23:11 
QuestionAdd tool tip on graphic objects Pin
cooltoad12312-May-08 22:44
cooltoad12312-May-08 22:44 
AnswerRe: Add tool tip on graphic objects Pin
Gareth H12-May-08 22:52
Gareth H12-May-08 22:52 
AnswerRe: Add tool tip on graphic objects Pin
Christian Graus12-May-08 23:02
protectorChristian Graus12-May-08 23:02 
Questiondisapper format of richedit in microsoft word Pin
ham rez12-May-08 22:37
ham rez12-May-08 22:37 
AnswerRe: disapper format of richedit in microsoft word Pin
Christian Graus12-May-08 23:02
protectorChristian Graus12-May-08 23:02 
QuestionReceiving "raw" print jobs Pin
User 137680012-May-08 22:04
User 137680012-May-08 22:04 
AnswerRe: Receiving "raw" print jobs Pin
m@u12-May-08 22:45
m@u12-May-08 22:45 
GeneralRe: Receiving "raw" print jobs Pin
User 137680012-May-08 23:36
User 137680012-May-08 23:36 
QuestionCurrent directory issue to load a assembly thru reflection Pin
shivapriyak12-May-08 21:40
shivapriyak12-May-08 21:40 
AnswerRe: Current directory issue to load a assembly thru reflection Pin
natsuyaki12-May-08 21:50
natsuyaki12-May-08 21:50 
GeneralRe: Current directory issue to load a assembly thru reflection Pin
shivapriyak12-May-08 23:25
shivapriyak12-May-08 23:25 
AnswerRe: Current directory issue to load a assembly thru reflection Pin
Spunky Coder12-May-08 21:55
Spunky Coder12-May-08 21:55 
GeneralRe: Current directory issue to load a assembly thru reflection Pin
shivapriyak12-May-08 23:20
shivapriyak12-May-08 23:20 
QuestionRe: Current directory issue to load a assembly thru reflection Pin
jpsstavares18-Sep-08 6:51
jpsstavares18-Sep-08 6:51 

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.