using System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Text;
using
System.Windows.Forms;
namespace sınıflar
{
public partial class Form1 : Form
{
public
Form1()
{
InitializeComponent();
}
private
void button1_Click_1(object
sender, EventArgs e)
{
DateTime
ilk, son;
ilk = Convert.ToDateTime(textBox1.Text);
son = Convert.ToDateTime(textBox2.Text);
MessageBox.Show("hesaplanan gün=" +(son-ilk));
}
}
}
Hiç yorum yok:
Yorum Gönder