1.keyborad event 2.change pwindow's implement do not use dirty mark