示例#1
0
 public ProgramWnd()
 {
     InitializeComponent();
     Main_textBox.SetHighlighting("XML");
     Main_textBox.SetFoldingStrategy("XML");
     Main_textBox.Font = new Font("Courier New", 8.25f, FontStyle.Regular);
 }
示例#2
0
        private void cmbHighlight_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            var cmb = (ComboBox)sender;

            Main_textBox.SetHighlighting(cmb.SelectedItem.ToString());
        }