The electronic subsystem of ultrathin films vias analysed using Green'
s function method including quantum size effect and the effect of boun
daries to Hamiltonian parameters. Diagonal components of Green's funct
ions were evaluated which enabled a complete insight into the thermody
namical properties of electrons. A comparison with crystal bulk has sh
own that electronic properties of the materials are strongly influence
d both by the sample dimensions and boundary conditions. The numerical
calculations show that the electron distribution may be manipulated b
y varying the surface parameters which is significant for the operatio
n of devices based on thin films.