C# TrackBar

C# - How To Use TrackBar In C#

c# trackbar

In This C# Tutorial  We Will See How To Use TrackBar Using CSharp Programming Language.

Project Source Code:

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 WindowsFormsApplication1
    public partial class Form12 : Form
        public Form12()

        private void Form12_Load(object sender, EventArgs e)
            trackBar1.Value = int.Parse(label1.Text);

        private void trackBar1_Scroll(object sender, EventArgs e)
            label1.Text = trackBar1.Value.ToString();

Share this

Related Posts

Next Post »