Announcement

Collapse
No announcement yet.

Von meheren Formularen auf Textfeld zugreifen

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Von meheren Formularen auf Textfeld zugreifen

    Hallo

    Ich habe ein Hauptformular Form1 auf dem sich ein Button befindet. Wenn man auf dem Button klickt wird Form2 geladen.

    Code:
    private void button1_Click(object sender, EventArgs e)
    {
       Form2 f2 = new Form2();
       f2.ShowDialog(this);
    }
    Auf Form2 sind zwei Textfelder. Auf diese Textfelder möchte ich von Form3 zugreifen.

    Habt ihr für mich ein Beispiel wie ich das machen muss? Vielen Dank schon mal.

    Gruß Doommortar

  • #2
    Hallo,

    es wurde bereits in http://www.mycsharp.de/wbb2/thread.php?threadid=75092 alles dazu gesagt.


    mfG Gü
    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand". - Martin Fowler

    Comment

    Working...
    X