private frmintro intro;
private void pictureBox3_Click(object sender, EventArgs e) { intro = new frmintro(); intro.LabelText = "LabelChanged!"; intro.Show(); }
public string LabelText { get { return label1.Text; } set { label1.Text = value; } }
private void pictureBox3_Click(object sender, EventArgs e) { intro = new frmintro() { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }; intro.LabelText = "LabelChanged!"; intro.Show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)