Advertisement
Guest User

glowna

a guest
Mar 28th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.35 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 projekt
  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.  
  26.         private void Form1_Load(object sender, EventArgs e)
  27.         {
  28.            
  29.         }
  30.  
  31.         private void button1_Click(object sender, EventArgs e)
  32.         {
  33.             Programowanie programming_form = new Programowanie ();
  34.             programming_form.Show();
  35.         }
  36.  
  37.        
  38.  
  39.         private void button3_Click(object sender, EventArgs e)
  40.         {
  41.             Finanse finances_form = new Finanse();
  42.             finances_form.Show();
  43.         }
  44.  
  45.         private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
  46.         {
  47.  
  48.         }
  49.  
  50.         private void button2_Click(object sender, EventArgs e)
  51.         {
  52.             string rok = DateTime.Now.ToString().Substring(0, 4);
  53.             MessageBox.Show(rok);
  54.             string miesiac = DateTime.Now.ToString().Substring(5, 2);
  55.             MessageBox.Show(miesiac);
  56.         }
  57.     }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement