I'm creating a custom Calendar control for inhouse use. Does anyone know of an algorithm for creating such a control?

Thanks,
Jeff