|
/*
* Created by SharpDevelop.
* User: Tefik Becirovic
* Date: 15.09.2008
* Time: 19:42
*
*/
using System;
using System.Drawing;
using System.Windows.Forms;
namespace TB.Instruments
{
/// <summary>
/// MainForm for SlidingScale.Test.
/// </summary>
public partial class MainForm : Form
{
/// <summary>
/// MainForm constructor.
/// </summary>
public MainForm()
{
InitializeComponent();
TrackBarsScroll(null,null);
}
/// <summary>
/// Update Label and SlidingScale on change track bars.
/// </summary>
void TrackBarsScroll(object sender, EventArgs e)
{
slidingScale1.Value = trackBar1.Value+trackBar2.Value/10.0;
label1.Text = slidingScale1.Value.ToString();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.