Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: Array Sorting Pin
S. Senthil Kumar26-Jul-05 23:54
S. Senthil Kumar26-Jul-05 23:54 
GeneralMSMQ events Pin
C0d3_P03t26-Jul-05 21:58
C0d3_P03t26-Jul-05 21:58 
Generalmemory drive Pin
farzad000126-Jul-05 21:03
farzad000126-Jul-05 21:03 
GeneralExtension File .vsi Pin
Brendan Vogt26-Jul-05 21:02
Brendan Vogt26-Jul-05 21:02 
Questionwat shd i do 1st? Pin
nidhelp26-Jul-05 21:01
nidhelp26-Jul-05 21:01 
AnswerRe: wat shd i do 1st? Pin
tatchung26-Jul-05 21:11
tatchung26-Jul-05 21:11 
GeneralRe: wat shd i do 1st? Pin
nidhelp26-Jul-05 22:26
nidhelp26-Jul-05 22:26 
GeneralRe: wat shd i do 1st? Pin
sreejith ss nair27-Jul-05 1:22
sreejith ss nair27-Jul-05 1:22 
private void button1_Click(object sender, System.EventArgs e)<br />
		{<br />
			if(Validate(textBox1.Text))<br />
			{<br />
				Form2 frm =new Form2();<br />
				frm.Show();<br />
			}<br />
			else<br />
			{<br />
				//show your popup window which contain "invalid input" information<br />
			}<br />
			<br />
		}<br />
		private bool Validate(string Val)<br />
		{<br />
			if(Val!="")<br />
			{<br />
				if(Val.Length==9||Val.Length==12)<br />
					return true;<br />
				else<br />
					return false;<br />
			}<br />
			else<br />
				return false;<br />
		}


Sreejith Nair
[ My Articles ]
GeneralRe: wat shd i do 1st? Pin
nidhelp27-Jul-05 15:17
nidhelp27-Jul-05 15:17 
GeneralRe: wat shd i do 1st? Pin
sreejith ss nair27-Jul-05 18:03
sreejith ss nair27-Jul-05 18:03 
GeneralRe: wat shd i do 1st? Pin
Jon Hulatt27-Jul-05 1:32
Jon Hulatt27-Jul-05 1:32 
GeneralRe: wat shd i do 1st? Pin
nidhelp27-Jul-05 15:14
nidhelp27-Jul-05 15:14 
GeneralRe: wat shd i do 1st? Pin
sreejith ss nair27-Jul-05 18:05
sreejith ss nair27-Jul-05 18:05 
Generalarraylist object search problem Pin
iramg26-Jul-05 20:53
iramg26-Jul-05 20:53 
GeneralRe: arraylist object search problem Pin
cshaaaa26-Jul-05 21:01
cshaaaa26-Jul-05 21:01 
GeneralRe: arraylist object search problem Pin
iramg26-Jul-05 21:31
iramg26-Jul-05 21:31 
GeneralRe: arraylist object search problem Pin
S. Senthil Kumar27-Jul-05 1:32
S. Senthil Kumar27-Jul-05 1:32 
Generallinking problem Pin
nidhelp26-Jul-05 20:08
nidhelp26-Jul-05 20:08 
GeneralRe: linking problem Pin
Luis Alonso Ramos26-Jul-05 20:11
Luis Alonso Ramos26-Jul-05 20:11 
GeneralRe: linking problem Pin
Luis Alonso Ramos26-Jul-05 20:14
Luis Alonso Ramos26-Jul-05 20:14 
GeneralRe: linking problem Pin
cshaaaa26-Jul-05 20:21
cshaaaa26-Jul-05 20:21 
GeneralRe: linking problem Pin
nidhelp26-Jul-05 20:33
nidhelp26-Jul-05 20:33 
GeneralNeed your help on NUnit Pin
Sachin Gedam26-Jul-05 19:29
Sachin Gedam26-Jul-05 19:29 
GeneralRe: Need your help on NUnit Pin
Maqsood Ahmed26-Jul-05 22:01
Maqsood Ahmed26-Jul-05 22:01 
GeneralRe: Need your help on NUnit Pin
Sachin Gedam27-Jul-05 2:48
Sachin Gedam27-Jul-05 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.