资源说明:一个功能比较全面的记事本源代码示例
private void 复制ToolStripMenuItem_Click(object sender, EventArgs e)
{
richTextBox1.Copy();
}
private void 剪切ToolStripMenuItem_Click(object sender, EventArgs e)
{
richTextBox1.Cut();
}
private void 粘贴ToolStripMenuItem_Click(object sender, EventArgs e)
{
richTextBox1.Paste();
}
private void 撤消ToolStripMenuItem_Click(object sender, EventArgs e)
{
richTextBox1.Undo();
}
private void 恢复ToolStripMenuItem_Click(object sender, EventArgs e)
{
richTextBox1.Redo();
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。