Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace WindowsFormsApplication1
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void button1_Click(object sender, EventArgs e)
- {
- string text=this.textBox1.Text+" "+this.textBox2.Text+" are "+this.textBox3.Text+" ani.";
- this.textBox4.Text=text;
- this.textBox4.Visible = true;
- }
- private void textBox1_TextChanged(object sender, EventArgs e)
- {
- }
- private void button2_Click_1(object sender, EventArgs e)
- {
- this.textBox1.Text = "";
- this.textBox2.Text = "";
- this.textBox3.Text = "";
- this.textBox4.Text = "";
- }
- private void textBox4_TextChanged(object sender, EventArgs e)
- {
- }
- private void button3_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement