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