Guest User

Untitled

a guest
Jun 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. Button button2 = new Button();
  2. button2.Name = "button2";
  3. button2.Text = "Далее";
  4. button2.Size = new System.Drawing.Size(160, 30);
  5. button2.Click += (sender, args) =>
  6. {
  7. MessageBox.Show(" наконец-то заработала");
  8. Controls.Clear();
  9. Close();
  10. };
  11. this.Controls.Add(button2)
Add Comment
Please, Sign In to add comment