15,886,199 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 Pantelis Chatzinikolis (Top 9 by date)
Pantelis Chatzinikolis
4-Jan-12 15:10pm
View
Sorry, either it wasn't there when I wrote my comment or I missed it. Great answer.
Pantelis Chatzinikolis
4-Jan-12 14:24pm
View
Still unrelated. Are you talking about sharing the same object between threads or different instances of the object? Either one, it's still not related to inheritance. Threading issue are generally Run-Time issue and inheritance is a design time issue.
Pantelis Chatzinikolis
4-Jan-12 14:18pm
View
First, I would strongly recommend that you switch to DateTime.TryParse. That won't fix your issue but it's a better method to use. Can you post the string you're trying to convert? Furthermore make sure it doesn't equal DBNull.
Pantelis Chatzinikolis
3-Jan-12 17:09pm
View
I don't think you can do a switch on .GetType().
foreach( Control ctl in Controls )
{
if (ctl.GetType() == typeof(TextBox))
(ctl as TextBox).Text = string.Empty;
}
Pantelis Chatzinikolis
3-Jan-12 14:30pm
View
You can also use Enums for the values and see this article on loading them to a combo box http://social.technet.microsoft.com/wiki/contents/articles/6314.aspx
Pantelis Chatzinikolis
1-Jan-12 21:16pm
View
Deleted
Reason for my vote of 5
Short and to the point. Very clear and precise. Great article.
Pantelis Chatzinikolis
7-Jul-11 22:41pm
View
The only thing I could think of is somehow a series of .resx files where created. It's the only thing I noticed that adds noticeable time to the builds.
Pantelis Chatzinikolis
7-Jul-11 22:37pm
View
I understand the problem, however, are you picking it from a Keypress type of event?
Pantelis Chatzinikolis
7-Jul-11 22:30pm
View
What part of the ToolStripItem are you looking to save? Name,Icon etc. If that's the case I can add some sample code as an example.
Show More