MDI应用程序中的每日更改背景 [英] Daily changing background in MDI application

查看:97
本文介绍了MDI应用程序中的每日更改背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
我需要知道如何每天更改我的MDI应用程序的背景图像.有人可以告诉我如何实现这一目标吗?
例子
今天是星期五,所以今天一个背景图像.明天自动更改另一个背景图像
任何代码

感谢您的关注!

Hi!
I need to know how to change the background image for my MDI application on a daily basis. Can anybody tell me how I can achieve this?
Example
today is Friday so today one background image .tomorrow automatically change another background image
Any code

Thanks for your interest!

推荐答案

一种方法是永久存储和保持最新更改日期.启动应用程序时,请检查该日期是否已更改并设置新的背景图像. (如果应用程序长时间运行,则应该检查日期,例如每小时一次.)

需要更多详细信息吗?
A way is to permanently store and keep updated the date of the last change. When you launch the application, check if that date has changed and set a new background image. (If the application stays running for long periods, you should check the date, say, every hour also.)

Need more details ?


这篇关于MDI应用程序中的每日更改背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆