Ejemplo n.º 1
0
 public frmCss(string css, FrmMain fm)
 {
     InitializeComponent();
     _css = css;
     _fm = fm;
     txtCss.AppendText(css);
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        public MarkdownEditorManager(FrmMain thisform, TabControl tabparent, MRUManager mru, WebControl preview)
        {
            _tabparent = tabparent;
            _thisForm = thisform;
            _workSpace = Application.StartupPath;
            _previewBrowser = preview;

            mruManager = mru;
        }