예제 #1
0
        public FpSpreadViewer()
        {
            InitializeComponent();
            fpSpread.EditMode = true;

            symbolManager = new SymbolManager(FpSpread, SymbolBar);
        }
예제 #2
0
        public SymbolDialog(SymbolManager SymbolManager)
        {
            InitializeComponent();

            _SymbolManager = SymbolManager;

            String SymbollibFile = Path.Combine(Application.StartupPath, "Symbollib.dll");

            if (File.Exists(SymbollibFile))
            {
                iniFile = new IniFile(SymbollibFile);
            }
            else
            {
                MessageBox.Show("未找到符号库文件 ‘" + SymbollibFile + "’。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }

            InitWindowSize();
            InitGridView();
            InitSymbolBar();
        }