Windows Dev Center

setting FontStyles to a CheckBox


  • Ok i'm working on a project for CSS Generator,what i need to know is how to set a fontDialog to a CheckBox..

    Example:Checkbox for Bold,Italic,Strikethrew Etc...

    I have several fontDialogs each set in the properties box for the above mentioned...

    If i'm going about this the wrong way please say so and explain what needs to be done here..Example working code would be greatly Appreciated ..


    Thxs in Advance for the help


    Possible Code:

    public enum FontStyle


    Regular, Bold, Italic, Underline, Strikeout


    private void pCheckBox(object sender,  System.EventArgs e)




    Friday, June 23, 2006 8:29 PM