Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / SearchForVirtualItemEventArgs.cs / 1 / SearchForVirtualItemEventArgs.cs
using System; using System.Drawing; namespace System.Windows.Forms { ///public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Drawing; namespace System.Windows.Forms { /// public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // 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
- GorillaCodec.cs
- PropertyExpression.cs
- SHA384CryptoServiceProvider.cs
- VirtualDirectoryMapping.cs
- CatalogZoneBase.cs
- M3DUtil.cs
- Int32AnimationUsingKeyFrames.cs
- ConfigXmlElement.cs
- MappedMetaModel.cs
- ItemMap.cs
- ToolStripButton.cs
- GridViewRowCollection.cs
- XsltLibrary.cs
- FilterableData.cs
- SimpleTextLine.cs
- ServiceDescriptionReflector.cs
- StringStorage.cs
- EdmItemCollection.cs
- EastAsianLunisolarCalendar.cs
- FlowPosition.cs
- Path.cs
- HashLookup.cs
- Clipboard.cs
- UniqueConstraint.cs
- InstanceKeyCompleteException.cs
- ColorComboBox.cs
- CodeMemberMethod.cs
- XmlHierarchicalEnumerable.cs
- wgx_sdk_version.cs
- ObjectListItemCollection.cs
- ToolboxDataAttribute.cs
- TypeValidationEventArgs.cs
- SRDisplayNameAttribute.cs
- METAHEADER.cs
- SqlClientWrapperSmiStream.cs
- SmtpSection.cs
- CalendarDay.cs
- ISessionStateStore.cs
- PersonalizationStateQuery.cs
- DataGridColumnHeaderAutomationPeer.cs
- ItemCheckedEvent.cs
- MessageQueue.cs
- MemberJoinTreeNode.cs
- GridViewPageEventArgs.cs
- ListArgumentProvider.cs
- StatusBar.cs
- ArrayTypeMismatchException.cs
- ObjectTypeMapping.cs
- AssemblyResourceLoader.cs
- TextViewSelectionProcessor.cs
- Utility.cs
- EntityClassGenerator.cs
- ResolveResponse.cs
- LicenseException.cs
- HandleCollector.cs
- HelpExampleGenerator.cs
- OuterGlowBitmapEffect.cs
- PathSegment.cs
- EdgeModeValidation.cs
- securitycriticaldata.cs
- ConfigurationProperty.cs
- PeerInputChannelListener.cs
- Crc32.cs
- Rotation3DAnimation.cs
- Control.cs
- WebPartZone.cs
- EventListenerClientSide.cs
- FixedHyperLink.cs
- NewExpression.cs
- backend.cs
- DataGridViewIntLinkedList.cs
- PersonalizationProvider.cs
- StructuredTypeInfo.cs
- Timeline.cs
- AuthorizationContext.cs
- GenericsInstances.cs
- ScalarType.cs
- GridToolTip.cs
- SecurityIdentifierElementCollection.cs
- EncoderBestFitFallback.cs
- Utils.cs
- ExtensionSimplifierMarkupObject.cs
- HttpHandlerAction.cs
- FixedTextContainer.cs
- DataServiceHost.cs
- DBSqlParserColumn.cs
- SafeLibraryHandle.cs
- UidPropertyAttribute.cs
- CultureSpecificStringDictionary.cs
- DictionaryBase.cs
- MediaSystem.cs
- HtmlTableCellCollection.cs
- SingleKeyFrameCollection.cs
- XPathException.cs
- XsltArgumentList.cs
- DbConnectionClosed.cs
- DBBindings.cs
- EdmToObjectNamespaceMap.cs
- SafeReversePInvokeHandle.cs
- CapiSafeHandles.cs