还有一段没有结束:关于保存文本的
感谢“高歌”的帮助,解决了文本中OnFileOpen的问题,现在又有一个新的保存:) 
 怎么结束了? 
 private   void   OnFileSave_Click(object   sender,   EventArgs   e) 
                         { 
                                     SaveFileDialog   result   =   new   SaveFileDialog(); 
                                     if   (result.ShowDialog()   ==   DialogResult.OK) 
                                     { 
                                                             ??????                                                            
                                        }
------解决方案--------------------SaveFileDialog result = new SaveFileDialog(); 
 if (result.ShowDialog() == DialogResult.OK) 
 { 
     System.IO.StreamWriter sw = new System.IO.StreamWriter(result.FileName); 
     sw.Write(textBox1.Text); 
     sw.Close(); 
  }