User Profile

Collapse

Profile Sidebar

Collapse
BlackChaos
BlackChaos
Last Activity: Sep 12 '07, 02:17 PM
Joined: Sep 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BlackChaos
    replied to problem with 2 forms and 1 textbox
    in .NET
    jo thanks,
    i've found also a solution...

    it's a little bit easier ^^

    form1:
    private void button1_Click(o bject sender, System.EventArg s e)
    {
    Form2 frm=new Form2(textBox1. Text);
    frm.Show();
    }

    form2:
    public Form2(string strTextBox)
    {
    InitializeCompo nent();
    label1.Text=str TextBox;
    }


    now, i see,...
    See more | Go to post

    Leave a comment:


  • BlackChaos
    started a topic problem with 2 forms and 1 textbox
    in .NET

    problem with 2 forms and 1 textbox

    hi @ all,

    i have a little problem...
    i have 2 forms (form1 and form2)

    on form1 threre is a textbox TB1 and a button BT1
    by clicking on BT1 i switch to form2

    so now the problem:
    in TB1 is a text which i want to give out via a messagebox on form2... but form2 don't know about the TB1... also when i save the content of TB1 in a string at form1 an switch to form2 the string don't be known...
    See more | Go to post
No activity results to display
Show More
Working...