public FpSpreadViewer() { InitializeComponent(); fpSpread.EditMode = true; symbolManager = new SymbolManager(FpSpread, SymbolBar); }
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(); }