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 projekt
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void label1_Click(object sender, EventArgs e)
- {
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void button1_Click(object sender, EventArgs e)
- {
- Programowanie programming_form = new Programowanie ();
- programming_form.Show();
- }
- private void button3_Click(object sender, EventArgs e)
- {
- Finanse finances_form = new Finanse();
- finances_form.Show();
- }
- private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
- {
- }
- private void button2_Click(object sender, EventArgs e)
- {
- string rok = DateTime.Now.ToString().Substring(0, 4);
- MessageBox.Show(rok);
- string miesiac = DateTime.Now.ToString().Substring(5, 2);
- MessageBox.Show(miesiac);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement