- Joined
- Jun 18, 2023
- Messages
- 1
- Reaction score
- 0
Hello, Please Help
I'm facing a problem using Windows Forms with all the texts in controllers ( Button, labels, etc...),
all texts are facing aliasing I tried all the solutions that I found as follows:
private void SelectBtn_Click(object sender, EventArgs e)
{
SelectBtn.UseCompatibleTextRendering = false;
PaintEventArgs pe = e as PaintEventArgs;
pe.Graphics.TextRenderingHint = TextRenderingHint.AntiAlias;
pe.Graphics.DrawString(SelectBtn.Text, SelectBtn.Font,
SystemBrushes.ControlText, SelectBtn.ClientRectangle);
}
and still facing the same problem and I'm already ended my project I've been working for 6 weeks till now
I'm facing a problem using Windows Forms with all the texts in controllers ( Button, labels, etc...),
all texts are facing aliasing I tried all the solutions that I found as follows:
private void SelectBtn_Click(object sender, EventArgs e)
{
SelectBtn.UseCompatibleTextRendering = false;
PaintEventArgs pe = e as PaintEventArgs;
pe.Graphics.TextRenderingHint = TextRenderingHint.AntiAlias;
pe.Graphics.DrawString(SelectBtn.Text, SelectBtn.Font,
SystemBrushes.ControlText, SelectBtn.ClientRectangle);
}
and still facing the same problem and I'm already ended my project I've been working for 6 weeks till now