Exemplo n.º 1
0
        private void toolStripButton_Click(object sender, EventArgs e)
        {
            switch ((sender as ToolStripButton).Text)
            {
            case "∪": Instructions_textBox.Paste("∪"); break;

            case "∩": Instructions_textBox.Paste("∩"); break;

            case "!": Instructions_textBox.Paste("!"); break;

            case "Con": Instructions_textBox.Paste("Con"); break;

            case "Dil": Instructions_textBox.Paste("Dil"); break;

            case "Euclid": Instructions_textBox.Paste("Euclid"); break;

            case "Hemming": Instructions_textBox.Paste("Hemming"); break;

            case "Clearset": Instructions_textBox.Paste("Clearset"); break;

            case "LineEuclid": Instructions_textBox.Paste("LineEuclid"); break;

            case "LineHemming": Instructions_textBox.Paste("LineHemming"); break;
            }
        }
Exemplo n.º 2
0
        private void toolStripButton_Click(object sender, EventArgs e)
        {
            switch ((sender as ToolStripButton).Text)
            {
            case "+": Instructions_textBox.Paste("+"); break;

            case "-": Instructions_textBox.Paste("-"); break;

            case "*": Instructions_textBox.Paste("*"); break;

            case "/": Instructions_textBox.Paste("/"); break;
            }
        }