Click here to Skip to main content
16,017,650 members
Home / Discussions / C#
   

C#

 
AnswerRe: Where is ILDASM in VS 2008? Pin
Simon P Stevens30-Apr-08 6:16
Simon P Stevens30-Apr-08 6:16 
GeneralRe: Where is ILDASM in VS 2008? Pin
carbon_golem30-Apr-08 6:26
carbon_golem30-Apr-08 6:26 
AnswerRe: Where is ILDASM in VS 2008? Pin
som.nitk30-Apr-08 11:20
som.nitk30-Apr-08 11:20 
GeneralRe: Where is ILDASM in VS 2008? Pin
Simon P Stevens1-May-08 9:24
Simon P Stevens1-May-08 9:24 
AnswerRe: Where is ILDASM in VS 2008? Pin
Luis Alonso Ramos30-Apr-08 11:56
Luis Alonso Ramos30-Apr-08 11:56 
QuestionInvalidate rectangle problem Pin
invader8230-Apr-08 2:57
invader8230-Apr-08 2:57 
GeneralRe: Invalidate rectangle problem Pin
Guffa30-Apr-08 4:10
Guffa30-Apr-08 4:10 
GeneralRe: Invalidate rectangle problem Pin
invader8230-Apr-08 5:08
invader8230-Apr-08 5:08 
this is the code OnPaint eventhandler:
all the painting is in this eventhandler

protected override void OnPaint(PaintEventArgs pe)
{
    base.OnPaint(pe);
    Graphics g = pe.Graphics;

    //if background isnt already prerendered
    if (bmp_background == null)
    {
        RenderBackGround(); //renders bmp_background 
    }
    
    //only re draw region that changes
    Rectangle R = pe.ClipRectangle;
    g.DrawImage(bmp_background, R.X, R.Y, R, GraphicsUnit.Pixel);

    //draw point (the small circle)
    DrawPoint(g,DrawingArea);
    //the drawingarea is a rectangle inside the control
    //you should consider it as (the control bounds - the padding of the control)
    // + a correction of the aspect ratio of this inside rectangle (has to be 1 all the time)
    // is used for the background and as a reference for the circle drawing position
    // locaction of the circle is stored in another object (and set by some mouse events)
}  

AnswerRe: Invalidate rectangle problem Pin
Guffa30-Apr-08 9:19
Guffa30-Apr-08 9:19 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:36
invader824-May-08 22:36 
AnswerRe: Invalidate rectangle problem Pin
Luc Pattyn30-Apr-08 5:51
sitebuilderLuc Pattyn30-Apr-08 5:51 
GeneralRe: Invalidate rectangle problem Pin
Guffa30-Apr-08 7:55
Guffa30-Apr-08 7:55 
GeneralRe: Invalidate rectangle problem Pin
Luc Pattyn30-Apr-08 8:39
sitebuilderLuc Pattyn30-Apr-08 8:39 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:21
invader824-May-08 22:21 
GeneralRe: Invalidate rectangle problem Pin
Luc Pattyn4-May-08 22:51
sitebuilderLuc Pattyn4-May-08 22:51 
AnswerRe: Invalidate rectangle problem Pin
Luc Pattyn30-Apr-08 8:24
sitebuilderLuc Pattyn30-Apr-08 8:24 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:30
invader824-May-08 22:30 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 22:47
invader824-May-08 22:47 
GeneralRe: Invalidate rectangle problem Pin
invader824-May-08 23:42
invader824-May-08 23:42 
QuestionCan not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 2:55
N a v a n e e t h30-Apr-08 2:55 
AnswerRe: Can not find entry point to function - Make sure you have exported the dll Pin
Wes Aday30-Apr-08 4:18
professionalWes Aday30-Apr-08 4:18 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 4:42
N a v a n e e t h30-Apr-08 4:42 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Spacix One30-Apr-08 4:53
Spacix One30-Apr-08 4:53 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 17:34
N a v a n e e t h30-Apr-08 17:34 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Spacix One1-May-08 8:25
Spacix One1-May-08 8:25 

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.