50 likes | 69 Views
Gorsel Kontroller. Trackbar. private void button3_Click(object sender, EventArgs e) { trackBar1.Minimum = 0; trackBar1.Maximum = 15; MessageBox.Show(trackBar1.Value.ToString()); }. Progressbar.
E N D
Trackbar private void button3_Click(object sender, EventArgs e) { trackBar1.Minimum = 0; trackBar1.Maximum = 15; MessageBox.Show(trackBar1.Value.ToString()); }
Progressbar private void button4_Click(object sender, EventArgs e) { progressBar1.Minimum = 0; progressBar1.Maximum = 30000; for (int i = progressBar1.Minimum; i <= progressBar1.Maximum; i++) progressBar1.Value = i; }
NumericUpDown private void button2_Click(object sender, EventArgs e) { numericUpDown1.DecimalPlaces = 0; numericUpDown1.Increment = 2; numericUpDown1.Maximum = 15; numericUpDown1.Minimum = 0; MessageBox.Show(numericUpDown1.Value.ToString()); }
LBIndustrialCtrls.dll private void button3_Click(object sender, EventArgs e) { lbKnob1.MinValue = 0; lbKnob1.MaxValue = 15; MessageBox.Show(lbKnob1.Value.ToString()); }