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.Threading.Tasks;
- using System.Windows.Forms;
- namespace kdamultipl
- {
- public partial class Form1 : Form
- {
- int a;
- int b;
- int c;
- int sum;
- public Form1()
- {
- InitializeComponent();
- }
- private void textBox1_TextChanged(object sender, EventArgs e)
- {
- a = Convert.ToInt32(Console.ReadLine());
- }
- private void textBox2_TextChanged(object sender, EventArgs e)
- {
- b = Convert.ToInt32(Console.ReadLine());
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void button1_Click(object sender, EventArgs e)
- {
- sum = a + b + c;
- Console.WriteLine();
- }
- private void textBox3_TextChanged(object sender, EventArgs e)
- {
- c = Convert.ToInt32(Console.ReadLine());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement