Advertisement
DanDelatt

Clicker

Sep 4th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 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;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11.  
  12. namespace UI_TRAINING
  13. {
  14.     public partial class MyTestProgram : Form
  15.     {
  16.         int i;
  17.         public MyTestProgram()
  18.         {
  19.             InitializeComponent();
  20.         }
  21.  
  22.         private void button1_Click(object sender, EventArgs e)
  23.         {
  24.             i++;
  25.             button1.Text = i.ToString();
  26.            
  27.         }
  28.     }
  29. }
  30.  
  31. //vk.com/dandelay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement