contorl window application