Click here to Skip to main content
15,911,528 members
Home / Discussions / C#
   

C#

 
GeneralRe: Opening a textbox using OleDbReader Pin
Guffa11-Dec-05 20:40
Guffa11-Dec-05 20:40 
Questionactiveform Pin
tonato84811-Dec-05 17:40
tonato84811-Dec-05 17:40 
Question,activeform Pin
tonato84811-Dec-05 17:35
tonato84811-Dec-05 17:35 
QuestionSql Connection... Pin
ayuba asia11-Dec-05 17:26
ayuba asia11-Dec-05 17:26 
AnswerRe: Sql Connection... Pin
Christian Graus11-Dec-05 17:41
protectorChristian Graus11-Dec-05 17:41 
GeneralRe: Sql Connection... Pin
flicktom12-Dec-05 9:25
flicktom12-Dec-05 9:25 
GeneralRe: Sql Connection... Pin
ayuba asia12-Dec-05 21:08
ayuba asia12-Dec-05 21:08 
QuestionDrawing on a form Pin
monrobot1311-Dec-05 14:26
monrobot1311-Dec-05 14:26 
Hi All,

I'm trying to do some simple drawing on a tabpage and I want to do it without using the OnPaint event. What I'm doing is using CreateGraphics to get a Graphics object then I'm calling Graphics.DrawLine to try and draw a simple line on the tabpage, but I can't get it to draw anything. After drawing I'm calling Invalidate and Refresh (I also tried each by itself), but I can't get anything to draw on the tabpage.

Any help on this subject (except telling me to use the OnPaint handler) would be very appreciated.

Thanks.

- Aaron

-- modified at 20:27 Sunday 11th December, 2005
AnswerRe: Drawing on a form Pin
Christian Graus11-Dec-05 14:28
protectorChristian Graus11-Dec-05 14:28 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:02
monrobot1311-Dec-05 15:02 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:04
protectorChristian Graus11-Dec-05 15:04 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:10
monrobot1311-Dec-05 15:10 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:13
protectorChristian Graus11-Dec-05 15:13 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:20
monrobot1311-Dec-05 15:20 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:24
protectorChristian Graus11-Dec-05 15:24 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:32
monrobot1311-Dec-05 15:32 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:37
protectorChristian Graus11-Dec-05 15:37 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:45
monrobot1311-Dec-05 15:45 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:48
protectorChristian Graus11-Dec-05 15:48 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:54
monrobot1311-Dec-05 15:54 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:58
protectorChristian Graus11-Dec-05 15:58 
QuestionWindows CE.Net 4.2 Pin
ayuba asia11-Dec-05 12:56
ayuba asia11-Dec-05 12:56 
QuestionPlay mp3 on Pocket PC using C# Pin
parispo911-Dec-05 12:08
parispo911-Dec-05 12:08 
QuestionModify a form's control properties from a class Pin
carlossan11-Dec-05 11:03
carlossan11-Dec-05 11:03 
AnswerRe: Modify a form's control properties from a class Pin
Curtis Schlak.11-Dec-05 11:50
Curtis Schlak.11-Dec-05 11:50 

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.