Click here to Skip to main content
15,887,404 members
Home / Discussions / C#
   

C#

 
GeneralRe: Checking required fields in a second Windows Form Pin
JTRizos26-Oct-09 11:09
JTRizos26-Oct-09 11:09 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active26-Oct-09 11:26
mentorNot Active26-Oct-09 11:26 
GeneralRe: Checking required fields in a second Windows Form Pin
JTRizos26-Oct-09 11:56
JTRizos26-Oct-09 11:56 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active26-Oct-09 12:44
mentorNot Active26-Oct-09 12:44 
GeneralRe: Checking required fields in a second Windows Form Pin
JTRizos26-Oct-09 13:03
JTRizos26-Oct-09 13:03 
GeneralRe: Checking required fields in a second Windows Form Pin
CodyDaemon29-Oct-09 5:54
CodyDaemon29-Oct-09 5:54 
GeneralRe: Checking required fields in a second Windows Form Pin
JTRizos29-Oct-09 6:24
JTRizos29-Oct-09 6:24 
AnswerRe: Checking required fields in a second Windows Form Pin
_Madmatt26-Oct-09 9:43
_Madmatt26-Oct-09 9:43 
Maybe you can create your whole "Form2" by codig? That will be much easier Wink | ;)

Form f = new Form();<br />
f.Location = new Point(100, 100);<br />
f.Size = new Size(300, 300);<br />
f.Text = "Form 2";


And so on for each property.

After that you'll need to check your textbox:

if (TextBox.Text == null)<br />
{<br />
   //Tell user he has to fill it.<br />
}<br />
<br />
if (TextBox.Text != null)<br />
{<br />
   //Do something with the text.<br />
}

Hope this helps!
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active26-Oct-09 9:59
mentorNot Active26-Oct-09 9:59 
GeneralRe: Checking required fields in a second Windows Form Pin
_Madmatt27-Oct-09 9:45
_Madmatt27-Oct-09 9:45 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active27-Oct-09 10:10
mentorNot Active27-Oct-09 10:10 
GeneralRe: Checking required fields in a second Windows Form Pin
_Madmatt27-Oct-09 10:20
_Madmatt27-Oct-09 10:20 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active27-Oct-09 10:40
mentorNot Active27-Oct-09 10:40 
QuestionRe: Checking required fields in a second Windows Form [modified] Pin
JTRizos27-Oct-09 11:49
JTRizos27-Oct-09 11:49 
AnswerRe: Checking required fields in a second Windows Form Pin
Not Active27-Oct-09 14:50
mentorNot Active27-Oct-09 14:50 
GeneralRe: Checking required fields in a second Windows Form Pin
JTRizos28-Oct-09 5:57
JTRizos28-Oct-09 5:57 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active28-Oct-09 9:20
mentorNot Active28-Oct-09 9:20 
AnswerRe: Checking required fields in a second Windows Form Pin
JTRizos29-Oct-09 11:19
JTRizos29-Oct-09 11:19 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active29-Oct-09 11:29
mentorNot Active29-Oct-09 11:29 
GeneralRe: Checking required fields in a second Windows Form Pin
_Madmatt28-Oct-09 6:09
_Madmatt28-Oct-09 6:09 
GeneralRe: Checking required fields in a second Windows Form Pin
JTRizos28-Oct-09 6:35
JTRizos28-Oct-09 6:35 
GeneralRe: Checking required fields in a second Windows Form Pin
_Madmatt28-Oct-09 9:02
_Madmatt28-Oct-09 9:02 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active28-Oct-09 9:25
mentorNot Active28-Oct-09 9:25 
GeneralRe: Checking required fields in a second Windows Form Pin
_Madmatt28-Oct-09 9:33
_Madmatt28-Oct-09 9:33 
GeneralRe: Checking required fields in a second Windows Form Pin
Not Active28-Oct-09 10:18
mentorNot Active28-Oct-09 10:18 

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.