Pb中resize事件的第一行注释是什么意思?“// Do not run the first time the window is opened.”

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/07 08:22:54
Pb中resize事件的第一行注释是什么意思?“//Donotrunthefirsttimethewindowisopened.”Pb中resize事件的第一行注释是什么意思?“//Donotrunt

Pb中resize事件的第一行注释是什么意思?“// Do not run the first time the window is opened.”
Pb中resize事件的第一行注释是什么意思?
“// Do not run the first time the window is opened.”

Pb中resize事件的第一行注释是什么意思?“// Do not run the first time the window is opened.”
窗口对象有WindowState属性(最大化,最小化和一般),如果窗口对象的WindowState属性设置成了最大化或最小化,则在窗口对象被OPEN之前,就会先触发窗口对象的resize事件.
如:本来希望在手工调整窗口时,一旦大小超出范围,给予类似Messagebox的提示语句,结果呢!
窗口还没打开,提示就出现了!