Creat multiple frame event in the same application