ashwini patel

ashwini patel

  • NA
  • 143
  • 9.5k

Windows form application

Aug 28 2017 11:21 AM
Hello sir....... Im doing new project about store department(scanning the data in 1st form and store the data 2nd form I already did 1st form in windows form application correctly. What I did is 1st form Private void form1_load if(textBox1.text.length==7)'// 7 is length of the BarCode value textbox2.focus(); BarCode1=textBox1.Text; if(BarCode2.Length>0) { Label1.Text=DataTime.Now.ToString ("hh:mm tt"); Date1=Label1. Text; } } Like this I did in 1st form scanning value comes correctly after that I put label as a button for that i wrote program as below { Form2 form=new Form2(); form.Show(); } As button click it opens 2nd form values are come as labels but my problem is I have to gave x number of textBox in 1st form And in 2nd form I have to separate the barcodes means ( if it starts with R goto one side or if it starts with s goto another side like that I want sir Im searching to many webaite but I didn't found any answer for my question plss suggest me sir ........

Answers (2)