Click here to Skip to main content
Click here to Skip to main content

Windows Hijri Calendar

, 26 Jan 2008 CPOL
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.

Comments and Discussions

QuestionGetting characters like ÓÈÊ PinmemberMember 1057264922-Dec-14 21:20 
GeneralMy vote of 3 PinmemberMojtaba Rezaeian7-Nov-14 10:20 
GeneralMy vote of 4 PinprofessionalSibeesh Venu6-Aug-14 18:58 
QuestionASCII Codes in place of days Pinmemberuzwa14-Dec-13 21:56 
AnswerRe: ASCII Codes in place of days PinmemberAmr Abd-Rabou15-May-14 4:42 
Questionwhy I cannot select date "30/2/1434"? Pinmemberhoussam1135026-Sep-13 23:54 
Questiongreat PinmemberHaseeb Mukhtar21-Aug-13 2:36 
GeneralMy vote of 5 Pinmembermanoj kumar choubey10-Jul-12 0:43 
QuestionMashallah Good Work Pinmemberismail aakhil14-Mar-12 7:42 
GeneralMy vote of 5 PinmemberАslam Iqbal11-Dec-11 18:36 
QuestionGood work... Pinmembermhm_abusalimeh30-Nov-11 1:52 
GeneralGood Work Pinmemberaneeshkonny8-Mar-10 7:27 
Generalexcellent work Pinmemberremoman18-Jan-10 4:08 
GeneralMy vote of 1 Pinmembermaleksafadi23-May-09 2:48 
GeneralGood Work PinmemberAnas Bahsas6-Apr-09 7:24 
GeneralExcellent Pinmembersoftsniper4-Apr-09 20:03 
GeneralGOOD WORK Pinmembermyxiang24-Jul-08 22:27 
QuestionAny WPF version PinmemberRapidfox27-Jun-08 1:34 
GeneralThanks PinmemberAbu Abdillah19-May-08 11:12 
GeneralGood work PinmemberMustafa Ismail Mustafa27-Jan-08 2:43 
GeneralRe: Good work PinmemberAbu Abdillah13-Apr-08 6:25 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150224.1 | Last Updated 27 Jan 2008
Article Copyright 2008 by Muhammad Elmasry
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid