event binding to main form
adding works, removing doesn't works