Click here to Skip to main content
16,016,263 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Posted
Updated 22-Jul-14 20:32pm
v3
Comments
Kornfeld Eliyahu Peter 23-Jul-14 2:37am    
I assume we are talking about web application...
I think the best you can is to Google for some SlideShow control/solution...
You may look at this: http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/SlideShow/SlideShow.aspx
[no name] 23-Jul-14 4:47am    
I mean create and using some photo such as slide show but I mean creating picture box such as slide show by using visual c# windows form application not asp.net or web application

I mean create by windows form application
how can create it?

please help me

Hello
bilalali


use this code.
Here Rename the Image name with Image1,Image2 so on...



C#
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace imageslider
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        int i = 0;
        private void Form1_Load(object sender, EventArgs e)
        {
            timer1.Start();

        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            ++i;
            pictureBox1.Image =System.Drawing.Image.FromFile("F:/Sandeep/Wcf/imageslider/imageslider/Image/image"+i+".jpg");
            if (i == 4)
            {
                i = 0;
            }
        }
    }
}


NOTE
SQL
Set Interval Property of Timer control with 200 Miliseconds



Hope This Help You

Happy Coding
 
Share this answer
 
v3
Comments
[no name] 29-Jul-14 3:58am    
thanks for you
you can try these:

http://www.java-scripts.net/javascripts/Automatically-Changing-Slide-Show-Script.phtml

http://freejavascriptslideshow.com/[^]



http://www.mindfiresolutions.com/How-To-Change-An-Image-Periodically-With-Timer-Control-Using-UpdatePanel-In-ASPNET-625.php[^]
 
Share this answer
 
v2
Comments
[no name] 23-Jul-14 4:47am    
I mean create and using some photo such as slide show but I mean creating picture box such as slide show by using visual c# windows form application not asp.net or web application

I mean create by windows form application
how can create it?

please help me
[no name] 23-Jul-14 4:48am    
that's create by asp.net


I mean create by windows form application not using asp.net

please help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900