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

HijriDate

ScreenShot2.JPG

ScreenShot3.JPG

ScreenShot4.JPG

Introduction

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

Background

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.

History

  • 27th January, 2008: Initial post

License

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

Share

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

 
GeneralMy vote of 4 PinprofessionalSibeesh Venu6-Aug-14 17:58 
QuestionASCII Codes in place of days Pinmemberuzwa14-Dec-13 20:56 
AnswerRe: ASCII Codes in place of days PinmemberAmr Abd-Rabou15-May-14 3:42 
Questionwhy I cannot select date "30/2/1434"? Pinmemberhoussam1135026-Sep-13 22:54 
Questiongreat PinmemberHaseeb Mukhtar21-Aug-13 1:36 
GeneralMy vote of 5 Pinmembermanoj kumar choubey9-Jul-12 23:43 
QuestionMashallah Good Work Pinmemberismail aakhil14-Mar-12 6:42 
GeneralMy vote of 5 PinmemberАslam Iqbal11-Dec-11 17:36 
QuestionGood work... Pinmembermhm_abusalimeh30-Nov-11 0:52 
GeneralGood Work Pinmemberaneeshkonny8-Mar-10 6:27 
Generalexcellent work Pinmemberremoman18-Jan-10 3:08 
GeneralMy vote of 1 Pinmembermaleksafadi23-May-09 1:48 
GeneralGood Work PinmemberAnas Bahsas6-Apr-09 6:24 
GeneralExcellent Pinmembersoftsniper4-Apr-09 19:03 
GeneralGOOD WORK Pinmembermyxiang24-Jul-08 21:27 
QuestionAny WPF version PinmemberRapidfox27-Jun-08 0:34 
GeneralThanks PinmemberAbu Abdillah19-May-08 10:12 
GeneralGood work PinmemberMustafa Ismail Mustafa27-Jan-08 1:43 
GeneralRe: Good work PinmemberAbu Abdillah13-Apr-08 5: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 | Mobile
Web03 | 2.8.141015.1 | Last Updated 27 Jan 2008
Article Copyright 2008 by Muhammad Elmasry
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid