Answers for "how to view text box from another form c#"

C#
0

C# show text in another form

You could modify the constructor of Form2 like this:

public Form2(string labelText)
{
    InitializeComponent();
    this.labelX1.Text = labelText;
}
then create Form2 passing in the text:

Form2 frm2 = new Form2(this.button1.text);
Posted by: Guest on August-09-2021

Code answers related to "how to view text box from another form c#"

C# Answers by Framework

Browse Popular Code Answers by Language