17 references to SetDisplayMode
System.Windows.Forms.Design (6)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (5)
67
_byteViewer.
SetDisplayMode
(DisplayMode.Auto);
75
_byteViewer.
SetDisplayMode
(DisplayMode.Hexdump);
83
_byteViewer.
SetDisplayMode
(DisplayMode.Ansi);
91
_byteViewer.
SetDisplayMode
(DisplayMode.Unicode);
174
_byteViewer.
SetDisplayMode
(DisplayMode.Auto);
System\ComponentModel\Design\ByteViewer.cs (1)
615
SetDisplayMode
(_displayMode);
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\ByteViewerTests.cs (11)
472
control.
SetDisplayMode
(displayMode);
547
control.
SetDisplayMode
(displayMode);
728
control.
SetDisplayMode
(value);
733
control.
SetDisplayMode
(value);
745
control.
SetDisplayMode
(value);
750
control.
SetDisplayMode
(value);
772
control.
SetDisplayMode
(value);
780
control.
SetDisplayMode
(value);
801
control.
SetDisplayMode
(DisplayMode.Ansi);
831
control.
SetDisplayMode
(DisplayMode.Unicode);
853
Assert.Throws<InvalidEnumArgumentException>("mode", () => control.
SetDisplayMode
(value));