Click here to Skip to main content
13,630,992 members
Click here to Skip to main content
Add your own
alternative version


35 bookmarked
Posted 26 Jan 2008
Licenced CPOL

Windows Hijri Calendar

, 26 Jan 2008
Rate this:
Please Sign up or sign in to vote.
This control enables developers to show Hijri calendar like Windows Georgian calendar






I tried to get a Hijri calendar control. I couldn't get any, so I developed this one.

In this article, I introduce two Hijri date controls:

  1. Hijri calendar
  2. Masked Hijri / Gregorian Edit


First, I have to thank Anas Bahsas for his article, Convert Date from Hijri Calendar to Gregorian Calendar and Vice Versa.

The Calendar control acts like the Microsoft MonthCalendar Control without Keyboard navigation.

The masked Hijri edit control just validates input Hijri / Gregorian date.

Using the Code

To use the controls, just add them to your project, drag and drop them on the form.

For the Hijri calendar control, you should handle the DateChanged event.


  • 27th January, 2008: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Muhammad Elmasry
Software Developer (Senior) Zaf Systems
Egypt Egypt
Working as senior software engineer at Zaf Systems
Interested In C++ MFC ATL C#
Security algorithms Encryption
Currently working in Java SCJP.

You may also be interested in...

Comments and Discussions

QuestionGetting characters like ÓÈÊ Pin
Member 1057264922-Dec-14 20:20
memberMember 1057264922-Dec-14 20:20 
GeneralMy vote of 3 Pin
Mojtaba Rezaeian7-Nov-14 9:20
memberMojtaba Rezaeian7-Nov-14 9:20 
GeneralMy vote of 4 Pin
Sibeesh Venu6-Aug-14 17:58
professionalSibeesh Venu6-Aug-14 17:58 
QuestionASCII Codes in place of days Pin
uzwa14-Dec-13 20:56
memberuzwa14-Dec-13 20:56 
AnswerRe: ASCII Codes in place of days Pin
Amr Abd-Rabou15-May-14 3:42
memberAmr Abd-Rabou15-May-14 3:42 
Questionwhy I cannot select date "30/2/1434"? Pin
houssam1135026-Sep-13 22:54
memberhoussam1135026-Sep-13 22:54 
Questiongreat Pin
Haseeb Mukhtar21-Aug-13 1:36
memberHaseeb Mukhtar21-Aug-13 1:36 
GeneralMy vote of 5 Pin
manoj kumar choubey9-Jul-12 23:43
membermanoj kumar choubey9-Jul-12 23:43 
QuestionMashallah Good Work Pin
ismail aakhil14-Mar-12 6:42
memberismail aakhil14-Mar-12 6:42 
GeneralMy vote of 5 Pin
Аslam Iqbal11-Dec-11 17:36
memberАslam Iqbal11-Dec-11 17:36 
QuestionGood work... Pin
mhm_abusalimeh30-Nov-11 0:52
membermhm_abusalimeh30-Nov-11 0:52 
GeneralGood Work Pin
aneeshkonny8-Mar-10 6:27
memberaneeshkonny8-Mar-10 6:27 
Generalexcellent work Pin
remoman18-Jan-10 3:08
memberremoman18-Jan-10 3:08 
GeneralMy vote of 1 Pin
maleksafadi23-May-09 1:48
membermaleksafadi23-May-09 1:48 
GeneralGood Work Pin
Anas Bahsas6-Apr-09 6:24
memberAnas Bahsas6-Apr-09 6:24 
GeneralExcellent Pin
softsniper4-Apr-09 19:03
membersoftsniper4-Apr-09 19:03 
GeneralGOOD WORK Pin
myxiang24-Jul-08 21:27
membermyxiang24-Jul-08 21:27 
QuestionAny WPF version Pin
Rapidfox27-Jun-08 0:34
memberRapidfox27-Jun-08 0:34 
GeneralThanks Pin
Abu Abdillah19-May-08 10:12
memberAbu Abdillah19-May-08 10:12 
GeneralGood work Pin
Mustafa Ismail Mustafa27-Jan-08 1:43
memberMustafa Ismail Mustafa27-Jan-08 1:43 
GeneralRe: Good work Pin
Abu Abdillah13-Apr-08 5:25
memberAbu Abdillah13-Apr-08 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01 | 2.8.180712.1 | Last Updated 27 Jan 2008
Article Copyright 2008 by Muhammad Elmasry
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid