25 references to DISPID
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (1)
85
string cat = GetCategoryFromObject(sender.TargetObject, sender.
DISPID
);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
44
Attribute[] attrs = GetComponentAttributes((NativeMethods.IManagedPerPropertyBrowsing)target,sender.
DISPID
);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (8)
72
bool validPropPage = !Guid.Empty.Equals(GetPropertyPageGuid(target, sender.
DISPID
));
95
string displayString = GetDisplayString((NativeMethods.IPerPropertyBrowsing)sender.TargetObject, sender.
DISPID
, ref success);
119
hr = ppb.GetPredefinedStrings(sender.
DISPID
, caStrings, caCookies);
123
Debug.Fail("An exception occurred inside IPerPropertyBrowsing::GetPredefinedStrings(dispid=" + sender.
DISPID
+ "), object type=" + new ComNativeDescriptor().GetClassName(ppb) + ". This is caused by an exception (usually an AV) inside the object being browsed, and is not a problem in the properties window.");
168
Guid g = GetPropertyPageGuid(ppb, sender.
DISPID
);
191
string val = GetDisplayString((NativeMethods.IPerPropertyBrowsing)itemsEnum.target.TargetObject, itemsEnum.target.
DISPID
, ref success);
290
int hr = ppb.GetPredefinedValue(target.
DISPID
, cookie, var);
356
string displayString = Com2IPerPropertyBrowsingHandler.GetDisplayString((NativeMethods.IPerPropertyBrowsing)target.TargetObject, target.
DISPID
, ref success);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (2)
73
bool builderValid = GetBuilderGuidString(target, sender.
DISPID
, ref s, new int[1]);
91
if (GetBuilderGuidString(propBuilder, sender.
DISPID
, ref guidString, pctlBldType)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (10)
43
int hr = ((NativeMethods.IVsPerPropertyBrowsing)propDesc.TargetObject).DisplayChildProperties(propDesc.
DISPID
, ref pfHide);
83
int hr = vsObj.GetLocalizedPropertyInfo(sender.
DISPID
, CultureInfo.CurrentCulture.LCID, null, pHelpString);
110
hr = vsObj.HideProperty(sender.
DISPID
, ref pfHide);
119
hr = vsObj.DisplayChildProperties(sender.
DISPID
, ref pfDisplay);
132
int hr = target.CanResetPropertyValue(sender.
DISPID
, ref canReset);
151
int hr = vsObj.GetLocalizedPropertyInfo(sender.
DISPID
, CultureInfo.CurrentCulture.LCID, pNameString, null);
169
int hr = vsObj.IsPropertyReadOnly(sender.
DISPID
, ref pfResult);
190
int hr = vsObj.DisplayChildProperties(sender.
DISPID
, ref pfResult);
208
int dispid = sender.
DISPID
;
225
int hr = vsObj.HasDefaultValue(sender.
DISPID
,ref pfResult);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
32
if (pd.
DISPID
== NativeMethods.ActiveX.DISPID_MOUSEICON || pd.Name.IndexOf("Icon") != -1) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
72
if (NativeMethods.Failed(propBuilder.ExecuteBuilder(propDesc.
DISPID
,
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
63
propPageSvc.ShowPropertyPage(propDesc.Name, instance, propDesc.
DISPID
, this.guid, hWndParent);