示例#1
0
        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();
            }
        }
示例#2
0
        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();
        }
示例#3
0
 public BdfBrowser(BdfImporter m)
 {
     Master = m;
     InitializeComponent();
     MdiParent = Master;
 }
示例#4
0
文件: BdfBrowser.cs 项目: drdnar/MFE
 public BdfBrowser(BdfImporter m)
 {
     Master = m;
     InitializeComponent();
     MdiParent = Master;
 }
示例#5
0
 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();
     }
 }