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

C#

 
QuestionOk, riddle me this! Pin
leppie7-Feb-06 4:49
leppie7-Feb-06 4:49 
AnswerRe: Ok, riddle me this! Pin
Nick Parker7-Feb-06 5:05
protectorNick Parker7-Feb-06 5:05 
GeneralRe: Ok, riddle me this! Pin
leppie7-Feb-06 5:13
leppie7-Feb-06 5:13 
GeneralRe: Ok, riddle me this! Pin
Nick Parker7-Feb-06 5:30
protectorNick Parker7-Feb-06 5:30 
GeneralRe: Ok, riddle me this! Pin
leppie7-Feb-06 9:30
leppie7-Feb-06 9:30 
Questionsql server credentials Pin
Dimitris Iliopoulos7-Feb-06 4:46
Dimitris Iliopoulos7-Feb-06 4:46 
QuestionPassing handles of one form to another Pin
spin vector7-Feb-06 4:41
spin vector7-Feb-06 4:41 
AnswerRe: Passing handles of one form to another Pin
Dave Kreskowiak7-Feb-06 5:07
mveDave Kreskowiak7-Feb-06 5:07 
Your description is confusing to say the least.

Are you saying the you want to show a second form that has a bunch of TextBoxs and you want to apply the values of these TextBox to the properties of your first Form???

Easy enough. Expose the vluaes of the TextBox's as Public Properties on your second form. Get the values using these property accessors and assign them to the properties of your form.
Form2 f2 = new Form2();
f2.ShowDialog();
this.Text = f2.TextValue;

//Form2
public class Form2 : blah
{
    public string TextValue
    {
        get
        {
            return this.TextBox3.Text;
        }
    }
}<pre>
Form Handles will have nothing to do with this at all.


RageInTheMachine9532<font size="-1">
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome</font>

 -- modified at 11:14 Tuesday 7th February, 2006

AnswerRe: Passing handles of one form to another Pin
jinzhecheng8-Feb-06 9:41
jinzhecheng8-Feb-06 9:41 
QuestionQuery a dataset or datatable Pin
venkatdc7-Feb-06 4:18
venkatdc7-Feb-06 4:18 
Questionerror massage after deploying program.. Pin
gongolina7-Feb-06 3:23
gongolina7-Feb-06 3:23 
AnswerRe: error massage after deploying program.. Pin
J4amieC7-Feb-06 3:31
J4amieC7-Feb-06 3:31 
QuestionFTP Client connection refused Pin
nickmacon7-Feb-06 3:14
nickmacon7-Feb-06 3:14 
AnswerRe: FTP Client connection refused Pin
leppie7-Feb-06 3:35
leppie7-Feb-06 3:35 
GeneralRe: FTP Client connection refused Pin
nickmacon7-Feb-06 5:30
nickmacon7-Feb-06 5:30 
QuestionWriting a save command to save on a particualr part Pin
Dave McCool7-Feb-06 2:46
Dave McCool7-Feb-06 2:46 
AnswerRe: Writing a save command to save on a particualr part Pin
leppie7-Feb-06 3:25
leppie7-Feb-06 3:25 
AnswerRe: Writing a save command to save on a particualr part Pin
Dave Kreskowiak7-Feb-06 4:21
mveDave Kreskowiak7-Feb-06 4:21 
QuestionLogon code Pin
Dave McCool7-Feb-06 2:29
Dave McCool7-Feb-06 2:29 
AnswerRe: Logon code Pin
J4amieC7-Feb-06 3:15
J4amieC7-Feb-06 3:15 
QuestionWhat does any application require? Pin
Dave McCool7-Feb-06 2:25
Dave McCool7-Feb-06 2:25 
AnswerRe: What does any application require? Pin
J4amieC7-Feb-06 3:13
J4amieC7-Feb-06 3:13 
AnswerRe: What does any application require? Pin
Dave Kreskowiak7-Feb-06 4:17
mveDave Kreskowiak7-Feb-06 4:17 
AnswerRe: What does any application require? Pin
Dave McCool26-Feb-06 23:59
Dave McCool26-Feb-06 23:59 
QuestionMonitor system performance Pin
Dave McCool7-Feb-06 2:21
Dave McCool7-Feb-06 2:21 

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.