Пример #1
0
 public frmCss(string css,frmMain fm)
 {
     InitializeComponent();
     _css = css;
     _fm = fm;
     txtCss.AppendText(css);
 }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }
Пример #4
0
        public MarkdownEditorManager(frmMain thisform, TabControl tabparent, MRUManager mru)
        {
            this._tabparent = tabparent;
            this._thisForm = thisform;
            _workSpace = Application.StartupPath;

            mruManager = mru;
        }