CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Tech Boards
Computer Programming
Source Code & Tutorial
C# Moving + Flashing Label Tutorial
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Syndicate" data-source="post: 19911" data-attributes="member: 2417"><p>Soon as C# is dead on this site I will post tutorials/codes as im am working on my BO3 program.</p><p></p><p>If for some reason u need help message me!</p><p>im not fussy about credits, so do what the fxck you want</p><p></p><p><a href="https://gifyu.com/image/Sowp" target="_blank"><img src="https://gifyu.com/images/MovingText.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Code:</p><p></p><p>1. Add a timer</p><p>2. Copy this code into your timer</p><p></p><p>[CODE]label1.Location = new Point(label1.Location.X + 10, label1.Location.Y);</p><p></p><p> if (label1.Location.X > this.Width)</p><p> {</p><p> label1.Location = new Point(0 - label1.Width, label1.Location.Y);</p><p></p><p> label1.Text = "GSC Is For Retards";</p><p> }</p><p> Random labelcolor = new Random();</p><p> int R = labelcolor.Next(0, 255);</p><p> int G = labelcolor.Next(0, 255);</p><p> int B = labelcolor.Next(0, 255);</p><p> int A = labelcolor.Next(0, 255);</p><p> label1.ForeColor = Color.FromArgb(R, G, B, A);[/CODE]</p><p></p><p>Make a button to start the animation, or thread the start at beginning of your program, up to you</p><p></p><p>Button method:</p><p>*Start Animation*</p><p>[CODE]</p><p> private void button1_Click(object sender, EventArgs e)</p><p> {</p><p> timer1.Start();</p><p> }[/CODE]</p><p></p><p>*End Animation*</p><p>[CODE]</p><p> private void button1_Click(object sender, EventArgs e)</p><p> {</p><p> timer1.Stop();</p><p> }[/CODE]</p></blockquote><p></p>
[QUOTE="Syndicate, post: 19911, member: 2417"] Soon as C# is dead on this site I will post tutorials/codes as im am working on my BO3 program. If for some reason u need help message me! im not fussy about credits, so do what the fxck you want [url=https://gifyu.com/image/Sowp][img]https://gifyu.com/images/MovingText.gif[/img][/url] Code: 1. Add a timer 2. Copy this code into your timer [CODE]label1.Location = new Point(label1.Location.X + 10, label1.Location.Y); if (label1.Location.X > this.Width) { label1.Location = new Point(0 - label1.Width, label1.Location.Y); label1.Text = "GSC Is For Retards"; } Random labelcolor = new Random(); int R = labelcolor.Next(0, 255); int G = labelcolor.Next(0, 255); int B = labelcolor.Next(0, 255); int A = labelcolor.Next(0, 255); label1.ForeColor = Color.FromArgb(R, G, B, A);[/CODE] Make a button to start the animation, or thread the start at beginning of your program, up to you Button method: *Start Animation* [CODE] private void button1_Click(object sender, EventArgs e) { timer1.Start(); }[/CODE] *End Animation* [CODE] private void button1_Click(object sender, EventArgs e) { timer1.Stop(); }[/CODE] [/QUOTE]
Verification
Post reply
Forums
Tech Boards
Computer Programming
Source Code & Tutorial
C# Moving + Flashing Label Tutorial
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top