Ejemplo n.º 1
0
 public HtmlEditor(string content, string path, int key)
 {
     InitializeComponent();
     Content   = content;
     this.path = path;
     richTextBox1.TextChanged   += richtextBox1_TextChanged;
     richTextBox1.SelectionStart = 0;
     if (key == 1)
     {
         Presenter.TitleBackColor(richTextBox1);
     }
 }
Ejemplo n.º 2
0
 public TextEditorForm(string content, string path, bool key)
 {
     InitializeComponent();
     Content                     = content;
     manualContent               = content;
     this.path                   = path;
     richTextBox1.TextChanged   += richtextBox1_TextChanged;
     richTextBox1.SelectionStart = 0;
     if (key == true)
     {
         Presenter.TitleBackColor(richTextBox1);
     }
 }