Click here to Skip to main content
15,894,907 members
Home / Discussions / C#
   

C#

 
AnswerRe: Opening a image into a pictureBox from a OpenFileDialog Pin
stancrm1-Aug-06 8:45
stancrm1-Aug-06 8:45 
QuestionHow to find out HD Size of a computer without using WMI Pin
Cadence2.01-Aug-06 7:43
Cadence2.01-Aug-06 7:43 
AnswerRe: How to find out HD Size of a computer without using WMI Pin
Wjousts1-Aug-06 8:32
Wjousts1-Aug-06 8:32 
QuestionRe: How to find out HD Size of a computer without using WMI Pin
Cadence2.01-Aug-06 10:41
Cadence2.01-Aug-06 10:41 
AnswerRe: How to find out HD Size of a computer without using WMI Pin
leppie1-Aug-06 21:01
leppie1-Aug-06 21:01 
Questionwht is acelp encoding? Pin
premium11-Aug-06 7:32
premium11-Aug-06 7:32 
AnswerRe: wht is acelp encoding? Pin
Guffa1-Aug-06 11:43
Guffa1-Aug-06 11:43 
Questiongraphics height of form [modified] Pin
thepersonof1-Aug-06 7:01
thepersonof1-Aug-06 7:01 
hey
I currently paint my form with the code:

  protected override void OnPaint(PaintEventArgs e)<br />
        {<br />
            <br />
            paintflag = !paintflag;<br />
            Graphics dc = e.Graphics;<br />
            <br />
            drawableWidth = dc.ClipBounds.Width;<br />
            drawableHeight = dc.ClipBounds.Height;<br />
... paint here


the problem is that when only part of the form needs to be redrawn the height is wrong and it all messes up. Is there any value I can get that specifies this inner height? I've tried this.clientsize.height but the value obtained is too large.

What can I do?

thank you
dave



-- modified at 13:01 Tuesday 1st August, 2006
AnswerRe: graphics height of form Pin
Stefan Troschuetz2-Aug-06 0:07
Stefan Troschuetz2-Aug-06 0:07 
QuestionIs real-time programming can be done with C# & .Net? Pin
eninyo1-Aug-06 6:16
eninyo1-Aug-06 6:16 
AnswerYou must first define real-time Pin
Ennis Ray Lynch, Jr.1-Aug-06 8:21
Ennis Ray Lynch, Jr.1-Aug-06 8:21 
GeneralRe: You must first define real-time Pin
eninyo1-Aug-06 10:07
eninyo1-Aug-06 10:07 
GeneralRe: You must first define real-time Pin
Ennis Ray Lynch, Jr.1-Aug-06 10:27
Ennis Ray Lynch, Jr.1-Aug-06 10:27 
GeneralRe: Is real-time programming can be done with C# & .Net? Pin
Guffa1-Aug-06 10:19
Guffa1-Aug-06 10:19 
Questionreference strong-named assembly Pin
kozu1-Aug-06 5:54
kozu1-Aug-06 5:54 
AnswerRe: reference strong-named assembly Pin
Dustin Metzgar1-Aug-06 6:03
Dustin Metzgar1-Aug-06 6:03 
AnswerRe: reference strong-named assembly Pin
zaboboa1-Aug-06 6:04
zaboboa1-Aug-06 6:04 
GeneralRe: reference strong-named assembly Pin
kozu1-Aug-06 6:27
kozu1-Aug-06 6:27 
QuestionRefreshing DataGridView Pin
Iceman5711-Aug-06 5:32
Iceman5711-Aug-06 5:32 
AnswerRe: Refreshing DataGridView Pin
ToddHileHoffer1-Aug-06 5:36
ToddHileHoffer1-Aug-06 5:36 
GeneralRe: Refreshing DataGridView Pin
Iceman5711-Aug-06 5:41
Iceman5711-Aug-06 5:41 
AnswerRe: Refreshing DataGridView Pin
zaboboa1-Aug-06 6:02
zaboboa1-Aug-06 6:02 
GeneralRe: Refreshing DataGridView Pin
Iceman5711-Aug-06 21:33
Iceman5711-Aug-06 21:33 
GeneralRe: Refreshing DataGridView Pin
Iceman5711-Aug-06 22:06
Iceman5711-Aug-06 22:06 
QuestionDeploying Application [modified] Pin
zaboboa1-Aug-06 5:00
zaboboa1-Aug-06 5:00 

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.