Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
If the project to download has no .dll like this one (i.e)
http://www.codeproject.com/KB/cs/TexboxValidation/textboxvalidation_src.zip[^]
 
Thank you!
Posted 2-Jun-12 2:29am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Technically you can even include executable as assambly and load it as reference. But it would be too dirty Smile | :) So you have two ways to follow: include the files you need in your project and use their namespace or refactor the sample app into a class library, using only parts that you need. But don't forget to be in accordance with the license.
  Permalink  
Comments
troymcfont at 2-Jun-12 9:00am
   
I've used the namespace and it's ok. But is there another way to do it?
I'd like to have just my namespace in the project, so how can I do it with just
using "using ...". With the second way u explained?
Zoltán Zörgő at 2-Jun-12 9:13am
   
Now I have looked at the code you linked. That is not to be included directly. As all validation routines are "TextChanged" event handlers, you just have to copy the needed code in a separate class (or class library), and just add them to textbox event queues as needed.
troymcfont at 2-Jun-12 18:14pm
   
And how can I do this? Sry for my ignorance!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 2 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100