Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 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 Second
  11. {
  12.     public partial class Form1 : Form
  13.     {
  14.         public Form1()
  15.         {
  16.             InitializeComponent();
  17.         }
  18.  
  19.         private void ClickButton_Click(object sender, EventArgs e)
  20.         {        
  21.            
  22.             int x = 1;
  23.  
  24.             ClickButton.Text = x.ToString("p0");
  25.             this.Text = "24/7 baby ;)";
  26.  
  27.             MessageBox.Show ("How many days out of a year do I love you?");
  28.  
  29.            
  30.  
  31.         }
  32.  
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement