25 references to SaveFile
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2634SaveFile(file, fileType);
System.Windows.Forms.Tests (24)
System\Windows\Forms\RichTextBoxTests.cs (24)
9336control.SaveFile(stream, RichTextBoxStreamType.PlainText); 9350control.SaveFile(stream, RichTextBoxStreamType.PlainText); 9368control.SaveFile(stream, RichTextBoxStreamType.PlainText); 9392control.SaveFile(stream, RichTextBoxStreamType.PlainText); 9405control.SaveFile(stream, RichTextBoxStreamType.PlainText); 9419control.SaveFile(stream, RichTextBoxStreamType.PlainText); 9437control.SaveFile(stream, RichTextBoxStreamType.UnicodePlainText); 9461control.SaveFile(stream, RichTextBoxStreamType.UnicodePlainText); 9474control.SaveFile(stream, RichTextBoxStreamType.RichText); 9489control.SaveFile(stream, RichTextBoxStreamType.RichText); 9507control.SaveFile(stream, RichTextBoxStreamType.RichText); 9532control.SaveFile(stream, RichTextBoxStreamType.RichText); 9547control.SaveFile(stream, RichTextBoxStreamType.TextTextOleObjs); 9561control.SaveFile(stream, RichTextBoxStreamType.TextTextOleObjs); 9579control.SaveFile(stream, RichTextBoxStreamType.TextTextOleObjs); 9603control.SaveFile(stream, RichTextBoxStreamType.TextTextOleObjs); 9620control.SaveFile(stream, RichTextBoxStreamType.RichNoOleObjs); 9638control.SaveFile(stream, RichTextBoxStreamType.RichNoOleObjs); 9663control.SaveFile(stream, RichTextBoxStreamType.RichNoOleObjs); 9677control.SaveFile((Stream)null, RichTextBoxStreamType.RichText); 9688control.SaveFile((Stream)null, RichTextBoxStreamType.RichText); 9704control.SaveFile((Stream)null, RichTextBoxStreamType.RichText); 9723control.SaveFile((Stream)null, RichTextBoxStreamType.RichText); 9733Assert.Throws<InvalidEnumArgumentException>("fileType", () => control.SaveFile(stream, fileType));