Click here to Skip to main content
15,898,134 members

Comments by Storxstar (Top 16 by date)

Storxstar 13-Nov-12 4:32am View    
Im drawing it on my Panel. I've tried this for Refresh. But it doesn't seem to work either...

panel.CreateGraphics().DrawImageUnscaled(drawing, new Point(0, 0));
Storxstar 13-Nov-12 4:18am View    
Im painting it myself basically, using mouse points to draw lines, place images(inside pictureboxes), placing labels.

Here is the code I used to initialize the Bitmap.

Bitmap drawing;
drawing = new Bitmap(drawPanel.Width, drawPanel.Height, drawPanel.CreateGraphics());

private void drawPanelControl_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawImageUnscaled(drawing, new Point(0, 0));
}
Storxstar 12-Nov-12 8:22am View    
I reckon your best bet would be to dynamically select something else on mouse leave of the dropdown. Thus setting the focus to something else. closing your dropdown.
Storxstar 12-Nov-12 6:09am View    
have you tried using an XmlReader? If not try using one, with Multiple for loops too keep looping through nodes and returning values.
Storxstar 5-Nov-12 6:45am View    
Not sure if this will help but try using a while loop. While(XmlReader.Read())