public frmCss(string css,frmMain fm) { InitializeComponent(); _css = css; _fm = fm; txtCss.AppendText(css); }
public MarkdownEditor(frmMain thisform, TabPage page) { this._markdownPage = page; this._thisForm = thisform; createRTB(ref _markdownRtb); _markdownRtb.TextChanged += new EventHandler(_markdownRtb_TextChanged); page.Controls.Add(_markdownRtb); }
public MarkdownEditor(frmMain thisform, TabPage page,WebBrowser preview) { this._markdownPage = page; this._thisForm = thisform; this._previewBrowser=preview; createRTB(ref _markdownRtb); _markdownRtb.TextChanged += new EventHandler(_markdownRtb_TextChanged); ElementHost elementHost = new ElementHost(); elementHost.Child=_markdownRtb; elementHost.Dock=DockStyle.Fill; page.Controls.Add(elementHost); }
public MarkdownEditorManager(frmMain thisform, TabControl tabparent, MRUManager mru) { this._tabparent = tabparent; this._thisForm = thisform; _workSpace = Application.StartupPath; mruManager = mru; }