neon_yt Posted February 11, 2016 at 09:15 PM Report Share #593372 Posted February 11, 2016 at 09:15 PM Olá, eu quero fazer com que uma Label mostre o conteúdo de um arquivo .txt. Por exemplo: Arquivo.txt tem escrito Olá Label1 passa a ter escrito Olá .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Arquivo.txt tem escrito Tudo Bem Label1 passa a ter escrito Tudo Bem Isso é possível? E sim se sim, como =P Link to comment Share on other sites More sharing options...
He B TeMy Posted February 11, 2016 at 09:33 PM Report Share #593373 Posted February 11, 2016 at 09:33 PM Label1.text = File.ReadAllText("arquivo.txt") Link to comment Share on other sites More sharing options...
neon_yt Posted February 11, 2016 at 09:34 PM Author Report Share #593374 Posted February 11, 2016 at 09:34 PM (edited) Label1.text = File.ReadAllText("arquivo.txt") Bigado Edited February 11, 2016 at 09:37 PM by neon_yt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now