hi,
i wish to know how to implement font dialog control ?
using tools->choose toolbox items->font dialog
i select this font dialog and click ok.but it does not display in the tool box.how can i get it.
Thanks
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
FroglegRank #1,020 · 1.9K reputationPosted Feb 7, 2011, 8:56 PM EST
public partial class Form1 : Form
{
Font myFont;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
if (fontDialog1.ShowDialog() == DialogResult.OK)
{
myFont = fontDialog1.Font;
}
}
}
Krishna GaradRank #191 · 12.8K reputationPosted Feb 7, 2011, 8:59 PM EST
right click in toolbox--->Add items---->select control from .net tab it will be added to toolbox.
krithika muthukrishnanRank #8,369 · 223 reputationPosted Feb 7, 2011, 9:07 PM EST
krithika muthukrishnanRank #8,369 · 223 reputationPosted Feb 7, 2011, 9:08 PM EST
Krishna GaradRank #191 · 12.8K reputationPosted Feb 7, 2011, 9:20 PM EST
krithika muthukrishnanRank #8,369 · 223 reputationPosted Feb 7, 2011, 11:21 PM EST
Krishna GaradRank #191 · 12.8K reputationPosted Feb 8, 2011, 12:03 AM EST