예제 #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;
        }