iam new to dotnet ,iam not getting messagebox class in my system.(present ly iam working with c#).please help me how to get it ...
thanks in advance..
thanks in advance..
using System;
using System.Windows.Forms;
namespace WindowsApplication1
{
class Sample
{
private DateTime StartTime;
public Sample(DateTime dtStart)
{
if (dtStart > DateTime.Now)
MessageBox.Show("Invalid Time");
else
StartTime = dtStart;
}
}
}
using System;
using System.Windows.Forms;
namespace WindowsApplication1
{
class Sample
{
private DateTime StartTime;
public Sample(DateTime dtStart)
{
if (dtStart > DateTime.Now)
MessageBox.Show("Invalid Time");
else
StartTime = dtStart;
}
}
}
Comment