15,886,689 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by gwithey (Top 14 by date)
gwithey
29-May-15 6:05am
View
The following using the solution you linked has reduced my sort time 2 fold and enabled me to cancel with a token...
// Sort by Ascending
m_listViewItems = new ObservableCollection<renishawlistitem>(
this.Items
.AsParallel()
.WithDegreeOfParallelism(2) // Sorts 2 in parellel (Down from 6 seconds to 3 over 1.5 million)
.WithCancellation(m_cancelationTokenSource.Token) // Enables the sort to quit when token is false on dispose etc
.OrderBy(
x => (primaryTypeIsKnown)
? Convert.ChangeType(x.SubItems[sortIndex], primaryItemType,
CultureInfo.InvariantCulture)
: x.SubItems[sortIndex].ToString())
.ThenBy(
x => (secondaryTypeIsKnown)
? Convert.ChangeType(x.SubItems[columnToCompareIndex], secondaryItemType,
CultureInfo.InvariantCulture)
: x.SubItems[columnToCompareIndex].ToString()));
gwithey
29-May-15 5:23am
View
Thank you F.Xaver i will give this a try
gwithey
2-Dec-13 8:14am
View
Thanks for the help with this, it allows me to at least determine which ones are obsolete and indicate this within the UI.
I still don't know if these could be linked to and display a property grid that relates to a control instance opposed to its type. However will see what i can do.
Thanks George
gwithey
2-Dec-13 6:30am
View
I wish to display them for regression testing of these properties to display any that are currently deprecated or non brawsable within a property grid.
gwithey
2-Dec-13 6:28am
View
Hi OriginalGriff,
Thanks for this, i have looked though the documentation and it is a useful resource for showing the currently deprecated properties dlls etc in .Net.
I have been trying to query the obsolete attribute using reflection but have not yet discovered a method of doing so and could not see anything which may lead me to this within the resource =s.
I suppose my original goal may seem odd but ideally i want to display depreciated,normal and non browsable properties in separate property grids. This is to allow testing of all attributes.
gwithey
3-Oct-12 4:06am
View
This was exactly what i was looking for and worked perfectly, thanks Alan =)
gwithey
19-Sep-12 5:00am
View
Ok thanks this could provide a possible solution, we already have a similar tool 'XenoCode' so could take this train of thought. I am just researching the issue at this stage before it is decided which route may be deemed the optimum direction for the project.
gwithey
19-Sep-12 4:51am
View
Ok this makes sense, i suppose if i require security the exception route may be a good idea or something similar at least as not sure if the user of the dll's may be able to bury the exception. Thanks for the advice
gwithey
19-Sep-12 4:46am
View
Ah i thought this may be the case, i have read the documentation and tried to think of a solution however thought maybe somebody had stumbled across a way of achieving this even if it is a little far fetched. So a group of dlls are not able to share the class among themselves but not the code using them when distributed.
gwithey
21-Sep-10 2:50am
View
Thank you, this worked great. The tool-strip now appears blended into the background.
gwithey
21-Sep-10 2:49am
View
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
gwithey
14-Sep-10 8:47am
View
This is what i thought, i was hoping there may be a way but these solutions will work so will give probably end up using the form method if that is possible using CAB.
Thanks for the Answer.
George
gwithey
12-Aug-10 11:45am
View
I tried to remove the file from source control it is there but says not downloaded and when i right click delete is greyed out. Do you know how i can resolve this.
Thanks George
gwithey
12-Aug-10 11:10am
View
I get it, i didnt understand how everything worked since the site changed, i think you are right just dont know how to fix it, the problem only occurs in one project of my solution. I can add the class to any other
Show More