Click here to Skip to main content
15,886,556 members
Home / Discussions / C#
   

C#

 
GeneralRe: Automatically creating classes ? Pin
Colin Angus Mackay1-Feb-04 5:01
Colin Angus Mackay1-Feb-04 5:01 
QuestionVirtual colums in a datagrid? Pin
Franz Pentenrieder31-Jan-04 12:02
Franz Pentenrieder31-Jan-04 12:02 
AnswerRe: Virtual colums in a datagrid? Pin
Heath Stewart2-Feb-04 4:21
protectorHeath Stewart2-Feb-04 4:21 
GeneralQuick answer for threading Pin
jacal9931-Jan-04 11:35
jacal9931-Jan-04 11:35 
GeneralRe: Quick answer for threading Pin
OmegaSupreme1-Feb-04 5:37
OmegaSupreme1-Feb-04 5:37 
GeneralProblem with events (I think) ... Pin
Andres Coder31-Jan-04 9:14
Andres Coder31-Jan-04 9:14 
GeneralRe: Problem with events (I think) ... Pin
Mazdak31-Jan-04 9:31
Mazdak31-Jan-04 9:31 
GeneralA drawing method parameters ... Pin
Andres Coder31-Jan-04 2:44
Andres Coder31-Jan-04 2:44 
I'm very new to C# and I have some questions about writing my own controls (I thought I can learn it best that way). I have two classes - one containing a procedure that paints a area (draws a custom 3D border and background) and another class is a control, witch must call the painting method (that is in the first class) in OnPaint method.

What I don't understand here is how can I pass the area of control as a parameter of the method?

Like in Borland Delphi I would have done it like this:
procedure PaintControl(AreaToPaint: Rect)
Or with two points (one x1, y1 and another x2,x2).

How can I do this in C# ?

If you understood even a little what I'm talking about, please reply....
GeneralRe: A drawing method parameters ... Pin
Mazdak31-Jan-04 4:36
Mazdak31-Jan-04 4:36 
GeneralRe: A drawing method parameters ... Pin
Nick Parker31-Jan-04 4:44
protectorNick Parker31-Jan-04 4:44 
Questionwhere is "Project Settings (ALT+F7)" of VC++6.0 in VS.NET ?? Pin
Anonymous31-Jan-04 2:17
Anonymous31-Jan-04 2:17 
AnswerRe: where is "Project Settings (ALT+F7)" of VC++6.0 in VS.NET ?? Pin
22491731-Jan-04 2:50
22491731-Jan-04 2:50 
AnswerRe: where is "Project Settings (ALT+F7)" of VC++6.0 in VS.NET ?? Pin
Mazdak31-Jan-04 4:45
Mazdak31-Jan-04 4:45 
GeneralProperties in a Winform Pin
StephenMcAllister30-Jan-04 23:18
StephenMcAllister30-Jan-04 23:18 
GeneralRe: Properties in a Winform Pin
Colin Angus Mackay31-Jan-04 1:28
Colin Angus Mackay31-Jan-04 1:28 
GeneralRe: Properties in a Winform Pin
StephenMcAllister31-Jan-04 19:31
StephenMcAllister31-Jan-04 19:31 
GeneralRe: Properties in a Winform Pin
Colin Angus Mackay1-Feb-04 1:40
Colin Angus Mackay1-Feb-04 1:40 
Generalhttp/ftp download redirection problem Pin
Member 85084030-Jan-04 22:32
Member 85084030-Jan-04 22:32 
GeneralIntercept incoming html Pin
lustuyck30-Jan-04 22:04
lustuyck30-Jan-04 22:04 
GeneralRe: Intercept incoming html Pin
Dmitriy Kostovetskiy31-Jan-04 9:23
Dmitriy Kostovetskiy31-Jan-04 9:23 
GeneralRe: Intercept incoming html Pin
Anonymous31-Jan-04 23:34
Anonymous31-Jan-04 23:34 
GeneralRe: Intercept incoming html Pin
Nick Parker1-Feb-04 7:28
protectorNick Parker1-Feb-04 7:28 
GeneralRe: Intercept incoming html Pin
Anonymous1-Feb-04 10:40
Anonymous1-Feb-04 10:40 
GeneralSearch pdf contents Pin
Mahesh Varma30-Jan-04 19:47
Mahesh Varma30-Jan-04 19:47 
GeneralTextbox.lines[] Pin
gsrajput30-Jan-04 17:03
gsrajput30-Jan-04 17:03 

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.