Click here to Skip to main content
15,867,488 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# Pin
lankaudaranga10-Jul-08 19:21
lankaudaranga10-Jul-08 19:21 
GeneralRe: c# Pin
CPallini10-Jul-08 21:40
mveCPallini10-Jul-08 21:40 
Questionc# crystal reports help Pin
lankaudaranga10-Jul-08 18:01
lankaudaranga10-Jul-08 18:01 
AnswerRe: c# crystal reports help Pin
Paul Conrad10-Jul-08 18:41
professionalPaul Conrad10-Jul-08 18:41 
GeneralRe: c# crystal reports help Pin
lankaudaranga10-Jul-08 19:20
lankaudaranga10-Jul-08 19:20 
GeneralRe: c# crystal reports help Pin
Paul Conrad10-Jul-08 19:25
professionalPaul Conrad10-Jul-08 19:25 
AnswerRe: c# crystal reports help Pin
Saiyed Alam10-Jul-08 22:30
Saiyed Alam10-Jul-08 22:30 
Questionpainting object Pin
netJP12L10-Jul-08 13:33
netJP12L10-Jul-08 13:33 
I am controlling the paint event of my Circle class but when I am resizing its size by clicking on one of it's handles the circle get drawn but i couldn't eliminate ghosting while it is drawn on the form. I have tried even setting DoubleBuffer=true but doesn't work.
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
Graphics g = e.Graphics;
Rectangle r = new Rectangle();
r.Size = this.Bounds.Size;

GraphicsPath ca = new GraphicsPath();
ca.AddEllipse(r);
Region region = new Region(ca);
this.Region = region;

g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.DrawEllipse(new Pen(Color.FromArgb(0, 0, 0)), r);
g.FillEllipse(Brushes.AntiqueWhite, r);
}
AnswerRe: painting object Pin
Alan Balkany11-Jul-08 9:50
Alan Balkany11-Jul-08 9:50 
QuestionControl Focus for MouseMove Events Pin
greytone810-Jul-08 11:13
professionalgreytone810-Jul-08 11:13 
AnswerRe: Control Focus for MouseMove Events Pin
Luc Pattyn10-Jul-08 12:56
sitebuilderLuc Pattyn10-Jul-08 12:56 
QuestionCopying from a memory structure to a jpg file Pin
SkyhiKeeper10-Jul-08 11:00
SkyhiKeeper10-Jul-08 11:00 
AnswerRe: Copying from a memory structure to a jpg file Pin
half-life10-Jul-08 22:46
half-life10-Jul-08 22:46 
Questionassigning keyboard shortcuts to buttons in a form Pin
danmcb10-Jul-08 10:47
danmcb10-Jul-08 10:47 
AnswerRe: assigning keyboard shortcuts to buttons in a form Pin
Luc Pattyn10-Jul-08 12:59
sitebuilderLuc Pattyn10-Jul-08 12:59 
AnswerRe: assigning keyboard shortcuts to buttons in a form Pin
Nirandas10-Jul-08 19:14
Nirandas10-Jul-08 19:14 
QuestionSaving/Loading an image to/from xml Pin
Justin Time10-Jul-08 10:43
Justin Time10-Jul-08 10:43 
QuestionRetreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 9:57
GreatBarrier8610-Jul-08 9:57 
AnswerRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:31
professionalThomas Stockwell10-Jul-08 10:31 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 10:41
GreatBarrier8610-Jul-08 10:41 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:54
professionalThomas Stockwell10-Jul-08 10:54 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury10-Jul-08 16:59
professionalJoe Woodbury10-Jul-08 16:59 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield10-Jul-08 21:13
Ashfield10-Jul-08 21:13 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury11-Jul-08 5:14
professionalJoe Woodbury11-Jul-08 5:14 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield11-Jul-08 9:32
Ashfield11-Jul-08 9:32 

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.