示例#1
0
文件: frmCss.cs 项目: dodola/MEditor
 public frmCss(string css, FrmMain fm)
 {
     InitializeComponent();
     _css = css;
     _fm = fm;
     txtCss.AppendText(css);
 }
示例#2
0
        public MarkdownEditor(FrmMain thisform, TabPage page, WebControl preview)
        {
            _markdownPage = page;
            _thisForm = thisform;
            _previewBrowser = preview;

            createRTB(ref _markdownRtb);
            _markdownRtb.TextChanged += _markdownRtb_TextChanged;
            var elementHost = new ElementHost();
            elementHost.Child = _markdownRtb;
            elementHost.Dock = DockStyle.Fill;
            page.Controls.Add(elementHost);
        }
示例#3
0
        public MarkdownEditorManager(FrmMain thisform, TabControl tabparent, MRUManager mru, WebControl preview)
        {
            _tabparent = tabparent;
            _thisForm = thisform;
            _workSpace = Application.StartupPath;
            _previewBrowser = preview;

            mruManager = mru;
        }