Flashing Label

Hi guys, can anybody advise on a simple way to make a label flash on and off. In visual basic it would be something like this:

timer1_timer

if label1.visible = true then
label1.visible = false
else
label1.visible = true


is there a sime c sharp translation for this or any other way to make a label flash on and off.

Thanks

Comments

  • : Hi guys, can anybody advise on a simple way to make a label flash on and off. In visual basic it would be something like this:
    :
    : timer1_timer
    :
    : if label1.visible = true then
    : label1.visible = false
    : else
    : label1.visible = true
    :
    :
    : is there a sime c sharp translation for this or any other way to make a label flash on and off.
    :
    : Thanks
    :
    Since all .net languages are basicly the same you should only convert
    your code to the proper syntax and it would run.

    If you know VB.net why did you move to C#?

    [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

  • im doing a mcsd course in c sharp, bcos my company is switching from vb.net to c sharp

  • : im doing a mcsd course in c sharp, bcos my company is switching from vb.net to c sharp
    :
    :
    OK

    All the things you did in VB.net (except things in the visual basic .ddl)
    can you do in C#. You'll only need to learn the syntax.

    [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion