如何编程记事本程序?

解决方案 »

  1.   

    后缀改成cs
    cmd 下: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\csc.exe   文件名.cs
      

  2.   

       用一个richTexbox  控件 直接写在里面然后 保存为记事本格式 就ok 了撒!
      

  3.   


    FileStream fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + "log.txt", FileMode.OpenOrCreate, FileAccess.Write);
    StreamWriter sw = new StreamWriter(fs);
    sw.WriteLine("ex.Message");或者sw.Write
      

  4.   

    csnd 的资源里面搜索一下
    c#写的一个记事本程序          就能下载到。