Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace WindowsFormsApplication1
  11. {
  12. public partial class Form1 : Form
  13. {
  14. public Form1()
  15. {
  16. InitializeComponent();
  17. }
  18.  
  19. private void Form1_Load(object sender, EventArgs e)
  20. {
  21.  
  22. }
  23. private void button1_Click(object sender, EventArgs e)
  24. {
  25. string text=this.textBox1.Text+" "+this.textBox2.Text+" are "+this.textBox3.Text+" ani.";
  26. this.textBox4.Text=text;
  27. this.textBox4.Visible = true;
  28. }
  29.  
  30. private void textBox1_TextChanged(object sender, EventArgs e)
  31. {
  32.  
  33. }
  34.  
  35. private void button2_Click_1(object sender, EventArgs e)
  36. {
  37. this.textBox1.Text = "";
  38. this.textBox2.Text = "";
  39. this.textBox3.Text = "";
  40. this.textBox4.Text = "";
  41.  
  42.  
  43. }
  44.  
  45. private void textBox4_TextChanged(object sender, EventArgs e)
  46. {
  47.  
  48. }
  49.  
  50. private void button3_Click(object sender, EventArgs e)
  51. {
  52. Application.Exit();
  53. }
  54.  
  55. }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement