Click here to Skip to main content
15,898,792 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to check a string to see if it’s valid for use in creating a file name Pin
Brady Kelly21-Aug-07 19:29
Brady Kelly21-Aug-07 19:29 
QuestionWindow like left-menu Pin
Muhammad Nauman Yousuf21-Aug-07 6:59
Muhammad Nauman Yousuf21-Aug-07 6:59 
AnswerRe: Window like left-menu Pin
martin_hughes21-Aug-07 9:26
martin_hughes21-Aug-07 9:26 
GeneralRe: Window like left-menu Pin
Muhammad Nauman Yousuf21-Aug-07 17:55
Muhammad Nauman Yousuf21-Aug-07 17:55 
Questionxml file export leaves web page open?? Pin
Venkatesh.P21-Aug-07 6:57
Venkatesh.P21-Aug-07 6:57 
QuestionHow do i draw a smooth linie [modified] Pin
MarkPhB21-Aug-07 6:29
MarkPhB21-Aug-07 6:29 
AnswerRe: How do i draw a smooth linie Pin
Mark Churchill21-Aug-07 19:04
Mark Churchill21-Aug-07 19:04 
GeneralRe: How do i draw a smooth linie Pin
MarkPhB22-Aug-07 7:01
MarkPhB22-Aug-07 7:01 
Yea i use this already but it looks not really Antialiased =/

the edges of a pie, for example, looks fuzzy but not smoothed

I have a Custom Control wich inherits from the Control class and my paint code looks like this
protected override void OnPaint( PaintEventArgs e ) {
    base.OnPaint( e );

    if( ( this.Width <= 0 ) || ( this.Height <= 0 ) ) return;

    e.Graphics.SmoothingMode = SmoothingMode.AntiAlias;

    GraphicsPath path = createGraphicPath( Shapes.Pie);

    this.Region = new Region( path );

    Pen pen = new Pen( new SolidBrush( borderColor_ ), borderWidth_ );
    pen.DashStyle = borderStyle_;

    e.Graphics.DrawPath( pen, path );

    path.Dispose();
    pen.Dispose();
}

QuestionAccessing App.Config file Pin
Sha Sea21-Aug-07 6:24
Sha Sea21-Aug-07 6:24 
AnswerRe: Accessing App.Config file Pin
kubben21-Aug-07 7:43
kubben21-Aug-07 7:43 
GeneralRe: Accessing App.Config file Pin
Sha Sea21-Aug-07 10:29
Sha Sea21-Aug-07 10:29 
QuestionInput text function Pin
AndrusM21-Aug-07 6:18
AndrusM21-Aug-07 6:18 
AnswerRe: Input text function Pin
snorkie21-Aug-07 7:15
professionalsnorkie21-Aug-07 7:15 
QuestionHow to Insert User Control into DataGrid Cell ? Pin
ArunkumarSundaravelu21-Aug-07 6:14
ArunkumarSundaravelu21-Aug-07 6:14 
AnswerRe: How to Insert User Control into DataGrid Cell ? Pin
Hessam Jalali21-Aug-07 9:52
Hessam Jalali21-Aug-07 9:52 
GeneralRe: How to Insert User Control into DataGrid Cell ? Pin
ArunkumarSundaravelu22-Aug-07 4:11
ArunkumarSundaravelu22-Aug-07 4:11 
QuestionBindingList based on array Pin
AndrusM21-Aug-07 6:12
AndrusM21-Aug-07 6:12 
Questionbrowse through elemnts of container / subscribe event Pin
ezazazel21-Aug-07 6:11
ezazazel21-Aug-07 6:11 
AnswerRe: browse through elemnts of container / subscribe event Pin
Hessam Jalali21-Aug-07 9:03
Hessam Jalali21-Aug-07 9:03 
GeneralRe: browse through elemnts of container / subscribe event Pin
ezazazel21-Aug-07 21:43
ezazazel21-Aug-07 21:43 
QuestionWriting byte stream Pin
gauthee21-Aug-07 5:38
gauthee21-Aug-07 5:38 
AnswerRe: Writing byte stream Pin
Luc Pattyn21-Aug-07 5:48
sitebuilderLuc Pattyn21-Aug-07 5:48 
QuestionThread Synchronization Pin
topksharma198221-Aug-07 4:14
topksharma198221-Aug-07 4:14 
AnswerRe: Thread Synchronization Pin
Luc Pattyn21-Aug-07 5:27
sitebuilderLuc Pattyn21-Aug-07 5:27 
QuestionApplication terminates when window gets closed Pin
MarioMARTIN21-Aug-07 3:59
MarioMARTIN21-Aug-07 3:59 

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.