Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button1_Click(object sender, EventArgs e)
- {
- this.Hide();
- Form3 form3 = new Form3();
- form3.ShowDialog();
- form3.SetTextForLabel("test");
- this.Close();
- }
- public void SetTextForLabel(string myText)
- {
- this.label1.Text = myText;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement