hi there i have been working with C# for quite some time. I want to know How i will be able to insert an image in the form and get it blinked. Rather i have inserted the Image But i dont know how to blink it
Gaurav arora
0
Junior Poster in Training
Recommended Answers
Jump to PostI'm sure there is a lot of way to do that but what I did was to put a timer (System.Windows.Forms in the components menu) on the form. and in its tick event write the following code.
private void timer1_Tick(object sender, EventArgs e) { if (pictureBox1.Visible == …
Jump to PostHi,
yilmazhuseyin was given good idea. My Suggestion, instead of changing the visible property of pictureBox, change the picture using timer.
For Ex:private bool change = true; private void timer1_Tick(object sender, EventArgs e) { if (change == true ) pictureBox1.Image = Image.FromFile ("c:\\a.bmp"); else pictureBox1.Image = …
All 5 Replies
yilmazhuseyin
16
Light Poster
selvaganapathy
31
Posting Pro
Gaurav arora
0
Junior Poster in Training
yilmazhuseyin
16
Light Poster
Gaurav arora
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.