Ejemplo n.º 1
0
        private void XMLToolStripMenuItem_Click(object sender, EventArgs e)
        {
            syntaxLabel.Text = "XML";

            if (CurrentTB != null)
            {
                CurrentTB.ChangeSyntax(Language.XML);
            }
        }
Ejemplo n.º 2
0
        private void JavaScriptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            syntaxLabel.Text = "JavaScript";

            if (CurrentTB != null)
            {
                CurrentTB.ChangeSyntax(Language.JS);
            }
        }
Ejemplo n.º 3
0
        private void VisualBasicToolStripMenuItem_Click(object sender, EventArgs e)
        {
            syntaxLabel.Text = "Visual Basic";

            if (CurrentTB != null)
            {
                CurrentTB.ChangeSyntax(Language.VB);
            }
        }
Ejemplo n.º 4
0
        private void NoneToolStripMenuItem_Click(object sender, EventArgs e)
        {
            syntaxLabel.Text = "None";

            if (CurrentTB != null)
            {
                CurrentTB.ChangeSyntax(Language.Custom);
            }
        }