Assign texture in texture paint - Cycles render
In texture paint, try using the "slots" tab on the toolbar.  Here, you can change painting mode from material to image, then specify a particular image and UV map you'd like to use.

Be aware that this isn't the same thing as assigning a texture to a material for rendering purposes.