TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SONU GUPTA
NA
40
4.3k
how to create prev and next button
Mar 30 2018 6:36 AM
using
System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Linq;
using
System.Text;
using
System.Threading.Tasks;
using
System.Windows.Forms;
namespace
WindowsFormsApplication42
{
public
partial
class
Form1 : Form
{
public
Form1()
{
InitializeComponent();
}
private
void
pictureBox1_Click(
object
sender, EventArgs e)
{
pictureBox1.Image = Properties.Resources.a;
pictureBox1.Image = Properties.Resources.b;
pictureBox1.Image = Properties.Resources.c;
pictureBox1.Image = Properties.Resources.d;
pictureBox1.Image = Properties.Resources.e;
pictureBox1.Image = Properties.Resources.f;
pictureBox1.Image = Properties.Resources.g;
pictureBox1.Image = Properties.Resources.h;
pictureBox1.Image = Properties.Resources.i;
pictureBox1.Image = Properties.Resources.j;
pictureBox1.Image = Properties.Resources.k;
pictureBox1.Image = Properties.Resources.l;
pictureBox1.Image = Properties.Resources.m;
pictureBox1.Image = Properties.Resources.n;
pictureBox1.Image = Properties.Resources.o;
pictureBox1.Image = Properties.Resources.p;
pictureBox1.Image = Properties.Resources.q;
pictureBox1.Image = Properties.Resources.r;
pictureBox1.Image = Properties.Resources.s;
pictureBox1.Image = Properties.Resources.t;
pictureBox1.Image = Properties.Resources.u;
pictureBox1.Image = Properties.Resources.v;
pictureBox1.Image = Properties.Resources.w;
pictureBox1.Image = Properties.Resources.x;
pictureBox1.Image = Properties.Resources.y;
pictureBox1.Image = Properties.Resources.z;
}
private
void
button1_Click(
object
sender, EventArgs e)
{
}
private
void
button2_Click(
object
sender, EventArgs e)
{
}
}
}
here is code for displaying image one by one now i want to ad next and prev button how can i do that....
Reply
Answers (
3
)
C# connection with Mitsubishi PLC
drawing (WRITING) in c#