in c# using the Save FileDialog option from the toolbox, what code do i need to make a button work in a menu to save a file in a richtextbox. this is what i have so far!
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
saveFileDialog1
this.saveFileDialog1.FileName = "doc1";
this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
private void saveFileDialog1_FileOk(object sender, system.ComponentModel.CancelEventArgs e) {
}
cheers