using this code I force the textbox to only accept persian words:
private void CommenttxtBox_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
System.Globalization.CultureInfo Language =
new System.Globalization.CultureInfo("Fa-ir");
InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(Language);
}
and whit a timer I put an english calender on my form:
private void ShowTime_Tick(object sender, EventArgs e)
{
ShowTimelbl.Text = DateTime.Now.ToString();
}
is there anyway to make the datetime shows persian (jalali) time ?