private void btnImportFont_Click(object sender, EventArgs e)
{
if (_item != null)
{
if (Factory.GUIController.ShowQuestion("Importing a font will replace the current font. Are you sure you want to do this?") == DialogResult.Yes)
{
string fileName = Factory.GUIController.ShowOpenFileDialog("Select font to import...", "All supported fonts (*.ttf; font.*)|*.ttf;font.*|TrueType font files (*.ttf)|*.ttf|SCI font files (FONT.*)|font.*");
if (fileName != null)
{
ImportFont(fileName);
}
}
}
}