Ejemplo n.º 1
0
 public PreambleForm(MainForm _mainForm) {
     mainForm = _mainForm;
     InitializeComponent();
     if(Properties.Settings.Default.editorFont != null) preambleTextBox.Font = Properties.Settings.Default.editorFont;
     preambleTextBox.Highlighter = Sgry.Azuki.Highlighter.Highlighters.Latex;
     preambleTextBox.Resize += ((s, e) => { preambleTextBox.ViewWidth = preambleTextBox.ClientSize.Width; });
     preambleTextBox.ShowsHScrollBar = false;
     preambleTextBox.Document.WordProc.EnableWordWrap = false;
     preambleTextBox.Document.EolCode = System.Environment.NewLine;
     ActiveControl = preambleTextBox;
 }
Ejemplo n.º 2
0
 public OutputForm(MainForm _mainForm)
 {
     mainForm = _mainForm;
     InitializeComponent();
 }