private void frmNewDocument_Load(object sender, EventArgs e) { txtDocument.Document.HighlightingStrategy = HighlightingStrategyFactory.CreateHighlightingStrategy(ConstMgr.CSharp); GuiConfig.Translateform(this); }