73 references to AxHost
System.Windows.Forms (73)
winforms\Managed\System\WinForms\AxHost.cs (54)
298
isMaskEdit = this.clsid.Equals(
AxHost
.maskEdit_Clsid);
1561
if (GetAxState(
AxHost
.handlePosRectChanged))
3888
private
AxHost
host;
3891
internal OleInterfaces(
AxHost
host) {
3916
internal
AxHost
GetAxHost() {
4118
Debug.Assert(!host.GetAxState(
AxHost
.siteProcessedInputKey), "Re-entering UnsafeNativeMethods.IOleControlSite.TranslateAccelerator!!!");
4119
host.SetAxState(
AxHost
.siteProcessedInputKey, true);
4132
host.SetAxState(
AxHost
.siteProcessedInputKey, false);
4171
if (host.GetAxState(
AxHost
.fOwnWindow)) {
4175
if (host.GetAxState(
AxHost
.fFakingWindow)) {
4253
host.SetAxState(
AxHost
.ownDisposing, false);
4254
host.SetAxState(
AxHost
.rejectSelection, false);
4332
if (
AxHost
.windowsMediaPlayer_Clsid.Equals(host.clsid))
4333
useRect = host.GetAxState(
AxHost
.handlePosRectChanged);
5258
private
AxHost
siteUIActive;
5259
private
AxHost
siteActive;
5265
private
AxHost
ctlInEditMode = null;
5554
AxHost
hostctl = ctl as
AxHost
;
5665
private bool RegisterControl(
AxHost
ctl) {
5697
AxHost
axctl = ctl as
AxHost
;
5790
internal void OnInPlaceDeactivate(
AxHost
site) {
5806
internal void OnUIDeactivate(
AxHost
site) {
5829
internal void OnUIActivate(
AxHost
site) {
5837
AxHost
tempSite = siteUIActive;
5838
bool ownDisposing = tempSite.GetAxState(
AxHost
.ownDisposing);
5840
tempSite.SetAxState(
AxHost
.ownDisposing, true);
5844
tempSite.SetAxState(
AxHost
.ownDisposing, ownDisposing);
5869
AxHost
hostctl = ctl as
AxHost
;
5885
internal void ControlCreated(
AxHost
invoker) {
5903
AxHost
[] axControls = new
AxHost
[l.Count];
5906
AxHost
control = axControls[i];
6001
internal void OnExitEditMode(
AxHost
ctl) {
6028
AxHost
ctl = null;
6150
if (ctl != null && ctl is
AxHost
) {
6151
return ((
AxHost
)ctl).GetOcx();
6192
return
AxHost
.GetOleColorFromColor(((Control)GetP()).BackColor);
6198
GetP().BackColor =
AxHost
.GetColorFromOleColor(value);
6217
return
AxHost
.GetOleColorFromColor(((Control)GetP()).ForeColor);
6223
GetP().ForeColor =
AxHost
.GetColorFromOleColor(value);
6583
internal State(MemoryStream ms, int storageType,
AxHost
ctl, PropertyBagStream propBag) {
6589
this.manualUpdate = ctl.GetAxState(
AxHost
.manualUpdate);
6607
internal State(
AxHost
ctl) {
6609
manualUpdate = ctl.GetAxState(
AxHost
.manualUpdate);
6932
AxHost
host = obj as
AxHost
;
6953
internal
AxHost
owner;
6974
internal AxPropertyDescriptor(PropertyDescriptor baseProp,
AxHost
owner) : base(baseProp) {
7161
owner.SetAxState(
AxHost
.valueChanged, true);
7380
private
AxHost
owner;
7385
public AxPerPropertyBrowsingEnum(AxPropertyDescriptor targetObject,
AxHost
owner, OleStrCAMarshaler names, Int32CAMarshaler values, bool allowUnknowns) : base(new string[0], new object[0], allowUnknowns) {
winforms\Managed\System\WinForms\ContainerControl.cs (4)
607
((
AxHost
.AxContainer)Properties.GetObject(PropAxContainer)).FormCreated();
624
internal
AxHost
.AxContainer CreateAxContainer() {
627
aXContainer = new
AxHost
.AxContainer(this);
630
return(
AxHost
.AxContainer)aXContainer;
winforms\Managed\System\WinForms\HtmlDocument.cs (2)
890
private
AxHost
.ConnectionPointCookie cookie;
954
this.cookie = new
AxHost
.ConnectionPointCookie(this.NativeHtmlDocument2,
winforms\Managed\System\WinForms\HtmlElement.cs (2)
1416
private
AxHost
.ConnectionPointCookie cookie; // To hook up events from the native HtmlElement
1473
this.cookie = new
AxHost
.ConnectionPointCookie(this.NativeHtmlElement,
winforms\Managed\System\WinForms\HtmlWindow.cs (2)
673
private
AxHost
.ConnectionPointCookie cookie;
709
this.cookie = new
AxHost
.ConnectionPointCookie(NativeHtmlWindow,
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
164
private
AxHost
.ConnectionPointCookie[] connectionPointCookies = null;
4637
connectionPointCookies = new
AxHost
.ConnectionPointCookie[currentObjects.Length];
4647
connectionPointCookies[i] = new
AxHost
.ConnectionPointCookie(obj, this, typeof(UnsafeNativeMethods.IPropertyNotifySink), /*throwException*/ false);
winforms\Managed\System\WinForms\WebBrowser.cs (2)
46
private
AxHost
.ConnectionPointCookie cookie; // To hook up events from the native WebBrowser
1279
this.cookie = new
AxHost
.ConnectionPointCookie(ax, webBrowserEvent,
winforms\Managed\System\WinForms\WebBrowserContainer.cs (2)
57
ppenum = new
AxHost
.EnumUnknown(temp);
61
ppenum = new
AxHost
.EnumUnknown(null);
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (2)
53
private
AxHost
.ConnectionPointCookie connectionPoint;
472
connectionPoint = new
AxHost
.ConnectionPointCookie(nativeObject, this, typeof(UnsafeNativeMethods.IPropertyNotifySink));