Afuera de todos los eventos y del load
Cita: private InstalledFontCollection installedFonts = new InstalledFontCollection();
Cita: Mira aqui te dejo un codigo que usoo para pones las fuentesen un comboBox
private void Form1_Load(object sender, EventArgs e)
{
comboBox1.DataSource = installedFonts.Families;
comboBox1.DisplayMember = "Name";
comboBox1.DrawMode = DrawMode.OwnerDrawFixed;
}
Cita: private void comboBox1_DrawItem(object sender, DrawItemEventArgs e)
{
FontFamily family = installedFonts.Families[e.Index];
FontStyle style = FontStyle.Regular;
if (!family.IsStyleAvailable(style))
style = FontStyle.Bold;
if (!family.IsStyleAvailable(style))
style = FontStyle.Italic;
Font fnt = new Font(family, 10, style);
Brush brush;
if (e.State == DrawItemState.Selected)
{
brush = new SolidBrush(Color.White);
}
else
{
brush = new SolidBrush(comboBox1.ForeColor);
}
e.DrawBackground();
e.Graphics.DrawString(family.GetName(0),
fnt, brush, e.Bounds.Location);
}
espero t esirva la Info..