Exemplo n.º 1
0
        public static void Load(string moduleName, RichEditControl richEditControl)
        {
            Stream stream = DemoHelper.GetCodeTextStream(typeof(CodeFileLoadHelper).Assembly, GetCodeFileName(moduleName));

            if (stream != null)
            {
                richEditControl.LoadDocument(stream, DocumentFormat.PlainText);
            }
        }