.Net Basic

This blogs gives introduction to C#.NET programming for beginners. This blogs assumes that you have no programming experience whatsoever. It's a lot easier than you think, and can be a very rewarding hobby!after Refer this blog

26 June 2009

Marquee in c#.net windows Application

Note:
Make Use of timer control and write this below function in Timer control Ticker Events and also Set timer Enabled = true
private void TmrPPT_Tick(object sender, EventArgs e)
{

string strScrollText= " Welcome to .Netbasic";
if (!(intPosition <= strScrollText.Length))
{
intPosition = 0;
}
LblScrollingText.Text = strScrollText.Substring(intPosition);
intPosition = intPosition + 1;

}

Labels: ,

3 Comments:

At May 27, 2012 at 4:00 AM , Anonymous Anonymous said...

POOR CODING.. NO DEPTH

 
At July 24, 2012 at 3:00 PM , Blogger Rama moorthi said...

Thanks Mr.Mohan


int intPosition = 0;
private void timer1_Tick(object sender, EventArgs e)
{
string strScrollText = "^ Welcome to Scrolling Text Process ^";
string strScroll2 = "^ Welcome to Scrolling Text Process ^";
if (!(intPosition <= strScrollText.Length))
{
intPosition = 0;
}
label1.Text = strScrollText.Substring(intPosition) + strScroll2.Substring(0, intPosition);
intPosition = intPosition + 1;
}

 
At January 24, 2018 at 11:17 AM , Blogger Vale Co Xenia said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru Dot Net Training in Chennai. Nowadays Dot Net has tons of job opportunities on various vertical industry.
or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home