Function moved into events control CPP file
added updating of layer field in event control
Small changes
deleted file
Fixed view type on some BGO