Пример #1
0
        public override void Open(DockPanel panel, ThemeBase theme)
        {
            _view = new FontView(theme);
            _view.NewFontLoaded += FormOnNewFontLoaded;
            _view.SaveFont      += FormOnSaveFont;
            _view.SetFileFilter(Filter);

            UpdateFormLabel();
            _view.Show(panel, DockState.Document);
        }
        public override void Open(DockPanel panel)
        {
            _view = new FontView(System.IO.Path.GetFileName(Path));
            _view.NewFontLoaded += FormOnNewFontLoaded;
            _view.SaveFont      += FormOnSaveFont;
            _view.SetFileFilter(Filter);

            UpdateFormLabel();
            _view.Show(panel, DockState.Document);
        }