5 instantiations of State
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1894
return new
State
(ms, _storageType, this);
1915
return new
State
(propBag);
2763
_ocxState = new
State
(this);
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
31
return new
State
(ms);
System.Windows.Forms.Tests (1)
SerializableTypesTests.cs (1)
33
state = new AxHost.
State
(stream, 1, true, licenseKey);
18 references to State
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.cs (5)
122
private
State
? _ocxState;
1807
/// <see cref="
State
"/> object. If the control has been modified since it was last saved to a persisted
1819
public
State
? OcxState
1862
private
State
? CreateNewOcxState(
State
? oldOcxState)
System\Windows\Forms\ActiveX\AxHost.State.cs (1)
255
internal unsafe
State
? RefreshStorage(IPersistStorage* iPersistStorage)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
49
if (value is not
State
state)
System.Windows.Forms.Design.Tests (5)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (5)
605
TypeConverter converter = TypeDescriptor.GetConverter(typeof(AxHost.
State
));
607
using var scope = CustomConverter.RegisterConverter(typeof(AxHost.
State
), new AxHost.StateConverter());
608
converter = TypeDescriptor.GetConverter(typeof(AxHost.
State
));
639
AxHost.
State
state = Assert.IsType<AxHost.
State
>(converter.ConvertFrom(resourceByte));
System.Windows.Forms.Tests (5)
SerializableAttributeTests.cs (1)
21
{ typeof(AxHost.
State
).FullName },
SerializableTypesTests.cs (3)
23
AxHost.
State
state;
44
AxHost.
State
result = BinarySerialization.EnsureDeserialize<AxHost.
State
>(blob);
System\Resources\ResXResourceReaderTests.cs (1)
31
Assert.Equal(typeof(AxHost.
State
), value.GetType());
WinFormsControlsTest (1)
MediaPlayer.Designer.cs (1)
47
this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.
State
)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));