private void importBDFToolStripMenuItem_Click(object sender, EventArgs e) { BdfImporter importer = new BdfImporter(this); if (importer.ShowDialog(this) == System.Windows.Forms.DialogResult.OK) { CurrentFontOriginalPath = ""; currentFont = importer.ImportedFont; RefreshStuff(); } }
public PreviewChart(Form master) { MasterWindow masterWindow = master as MasterWindow; BdfImporter importer = master as BdfImporter; Master = master; InitializeComponent(); SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); if (masterWindow != null) { masterWindow.PreviewChart = this; masterWindow.CharEditorWindow.charEditor.PixelChanged += charEditor_PixelChanged; } else if (importer != null) { importer.Chart = this; } this.MdiParent = master; Show(); }
public BdfBrowser(BdfImporter m) { Master = m; InitializeComponent(); MdiParent = Master; }