Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 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.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace WindowsFormsApp3
  12. {
  13. public partial class Form1 : Form
  14. {
  15. public Form1()
  16. {
  17. InitializeComponent();
  18. }
  19.  
  20. private void label1_Click(object sender, EventArgs e)
  21. {
  22.  
  23. }
  24.  
  25. private void textBox1_TextChanged(object sender, EventArgs e)
  26. {
  27.  
  28. }
  29.  
  30. private void button1_Click(object sender, EventArgs e)
  31. {
  32. int variable = int.Parse(nether.Text);
  33. int output = (variable * 4);
  34.  
  35.  
  36. string textoutput = output.ToString();
  37. textBox2.Text = textoutput;
  38.  
  39.  
  40.  
  41. }
  42.  
  43. private void checkBox1_CheckedChanged(object sender, EventArgs e)
  44. {
  45.  
  46. }
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement