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 Vezba_07_2017_Zad4
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
- {
- textBox1.Text = String.Format("Dan tvog rodjenja je {0} \r\n Od tvog rodjenja proslo je tacno {1} dana", dateTimePicker1.Value.DayOfWeek.ToString(), (DateTime.Now - dateTimePicker1.Value).Days.ToString());
- }
- }
- }
Add Comment
Please, Sign In to add comment