文件名称:能改变字体颜色的记事本
文件大小:46KB
文件格式:RAR
更新时间:2014-12-21 12:49:49
记事本 代码
private void 另存为AToolStripMenuItem_Click(object sender, EventArgs e) { if (saveFileDialog1.ShowDialog() == DialogResult.OK) { StreamWriter sw = new StreamWriter(saveFileDialog1.FileName, false, Encoding.Default); sw.Write(textBox1.Text); sw.Close(); } }
【文件预览】:
实验报告三-2记事本
----WindowsFormsApplication1.sln(962B)
----WindowsFormsApplication1.suo(16KB)
----WindowsFormsApplication1()
--------Form1.Designer.cs(24KB)
--------Program.cs(505B)
--------obj()
--------bin()
--------Form1.cs(2KB)
--------WindowsFormsApplication1.csproj(4KB)
--------Form1.resx(7KB)
--------WindowsFormsApplication1.csproj.user(74B)
--------Properties()