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; } }
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; } }