added possibility to set viewType of the form
Merge pull request #47 from makingwaves/piotrek-version5

added possibility to set viewType of the form