I have a WinForms form, and would like to make it so that all text (e.g. labels, buttons) is anti-aliased. This is driving me crazy because I can't find anything on google, which either means it's so obvious or I'm way off-base.
My best idea has been to override OnPaint in my main form, but this doesn't seem to change anything.
protected override void OnPaint(PaintEventArgs e) {
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
base.OnPaint(e);
}
Help!