Table handling in window form