Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / Win32Providers / MS / Internal / AutomationProxies / WindowsStartMenu.cs / 1 / WindowsStartMenu.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Implementation of a provider for the Classic Start Menu // // History: // 09/07/2004 : [....] Created // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Automation; using System.Windows.Automation.Provider; using MS.Win32; namespace MS.Internal.AutomationProxies { class WindowsStartMenu : ProxyHwnd, IRawElementProviderSimple { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors public WindowsStartMenu(IntPtr hwnd, ProxyHwnd parent, int item) : base( hwnd, parent, item) { _sAutomationId = "StartMenu"; } #endregion Constructors #region Proxy Create // Static Create method called by UIAutomation to create this proxy. // returns null if unsuccessful internal static IRawElementProviderSimple Create(IntPtr hwnd, int idChild, int idObject) { return Create(hwnd, idChild); } private static IRawElementProviderSimple Create(IntPtr hwnd, int idChild) { // Something is wrong if idChild is not zero if (idChild != 0) { System.Diagnostics.Debug.Assert(idChild == 0, "Invalid Child Id, idChild != 0"); throw new ArgumentOutOfRangeException("idChild", idChild, SR.Get(SRID.ShouldBeZero)); } return new WindowsStartMenu(hwnd, null, 0); } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Membership.cs
- Window.cs
- GacUtil.cs
- SourceFileInfo.cs
- DSACryptoServiceProvider.cs
- HttpDictionary.cs
- OuterGlowBitmapEffect.cs
- BackgroundFormatInfo.cs
- PriorityItem.cs
- UnionQueryOperator.cs
- ResourcesBuildProvider.cs
- ValueType.cs
- EmbeddedMailObjectsCollection.cs
- EventSinkHelperWriter.cs
- SerializationSectionGroup.cs
- ByteArrayHelperWithString.cs
- ThicknessConverter.cs
- DLinqDataModelProvider.cs
- BitmapVisualManager.cs
- XmlSerializerSection.cs
- XmlSortKeyAccumulator.cs
- QilReference.cs
- WebPartCancelEventArgs.cs
- RayMeshGeometry3DHitTestResult.cs
- ReaderWriterLock.cs
- Compiler.cs
- DataExpression.cs
- ResourceDisplayNameAttribute.cs
- TypeListConverter.cs
- HttpRequest.cs
- SMSvcHost.cs
- ArrayItemValue.cs
- ReferencedCollectionType.cs
- StylusTip.cs
- StreamGeometry.cs
- ValidateNames.cs
- List.cs
- GridViewCellAutomationPeer.cs
- PeerEndPoint.cs
- SchemaObjectWriter.cs
- StrokeIntersection.cs
- ListCollectionView.cs
- XamlWriter.cs
- PolicyException.cs
- VisualProxy.cs
- PropertyValueChangedEvent.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Color.cs
- FindCompletedEventArgs.cs
- CroppedBitmap.cs
- CFGGrammar.cs
- WhitespaceRuleLookup.cs
- ImageDrawing.cs
- WebPartConnectionsConnectVerb.cs
- RightsManagementResourceHelper.cs
- EntitySqlQueryBuilder.cs
- SplayTreeNode.cs
- CanExecuteRoutedEventArgs.cs
- PageSetupDialog.cs
- WsdlParser.cs
- ButtonBase.cs
- AppDomainFactory.cs
- LineGeometry.cs
- BindingOperations.cs
- ValidatorAttribute.cs
- TraceFilter.cs
- MouseActionValueSerializer.cs
- UndoManager.cs
- Expression.cs
- IsolatedStoragePermission.cs
- TextServicesCompartmentContext.cs
- BaseUriWithWildcard.cs
- PeerTransportListenAddressValidatorAttribute.cs
- TextDecoration.cs
- WebPartZoneAutoFormat.cs
- ProfileSettings.cs
- AssemblySettingAttributes.cs
- EntityDataSourceSelectingEventArgs.cs
- IncomingWebRequestContext.cs
- TabItemAutomationPeer.cs
- KeyBinding.cs
- Iis7Helper.cs
- DataGridViewLayoutData.cs
- Code.cs
- LicenseException.cs
- PropertyInfo.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PtsCache.cs
- CommonDialog.cs
- TabletDevice.cs
- Stream.cs
- CheckBox.cs
- PrePrepareMethodAttribute.cs
- SharedPersonalizationStateInfo.cs
- ChannelReliableSession.cs
- SvcMapFile.cs
- BrowserTree.cs
- ComboBox.cs
- SqlBulkCopyColumnMappingCollection.cs
- Propagator.JoinPropagator.cs