- spinner.zip
- CustomControls
- bin
- calendar
- css
- img
- ui-bg_flat_0_aaaaaa_40x100.png
- ui-bg_flat_75_ffffff_40x100.png
- ui-bg_glass_55_fbf9ee_1x400.png
- ui-bg_glass_65_ffffff_1x400.png
- ui-bg_glass_75_dadada_1x400.png
- ui-bg_glass_75_e6e6e6_1x400.png
- ui-bg_glass_95_fef1ec_1x400.png
- ui-bg_highlight-soft_75_cccccc_1x100.png
- ui-icons_222222_256x240.png
- ui-icons_2e83ff_256x240.png
- ui-icons_454545_256x240.png
- ui-icons_888888_256x240.png
- ui-icons_cd0a0a_256x240.png
- js
- colorpicker
- css
- img
- colorpicker_overlay.png
- colorpicker_select.gif
- custom_background.png
- custom_cancel.png
- custom_hex.png
- custom_hsb_b.png
- custom_hsb_h.png
- custom_hsb_s.png
- custom_indic.gif
- custom_rgb_b.png
- custom_rgb_g.png
- custom_rgb_r.png
- custom_submit.png
- js
- elrte
- css
- img
- elrte-toolbar.png
- pixel.gif
- js
- lang
- obj
- Debug
- DesignTimeResolveAssemblyReferences.cache
- DesignTimeResolveAssemblyReferencesInput.cache
- ResGen.read.1.tlog
- ResGen.write.1.tlog
- TempPE
- VisualJS.Web.Forms.SliderControl.resources
- WebControls.csproj.FileListAbsolute.txt
- WebControls.dll
- WebControls.pdb
- x86
- Debug
- DesignTimeResolveAssemblyReferencesInput.cache
- ResGen.read.1.tlog
- ResGen.write.1.tlog
- TempPE
- VisualJS.Web.Forms.SliderControl.resources
- WebControls.csproj.FileListAbsolute.txt
- WebControls.dll
- WebControls.pdb
- Properties
- slider
- css
- img
- arrows.png
- bullets.png
- loading.gif
- js
- spinner
- css
- img
- ui-bg_diagonals-thick_18_b81900_40x40.png
- ui-bg_diagonals-thick_20_666666_40x40.png
- ui-bg_flat_10_000000_40x100.png
- ui-bg_glass_100_f6f6f6_1x400.png
- ui-bg_glass_100_fdf5ce_1x400.png
- ui-bg_glass_65_ffffff_1x400.png
- ui-bg_gloss-wave_35_f6a828_500x100.png
- ui-bg_highlight-soft_100_eeeeee_1x100.png
- ui-bg_highlight-soft_75_ffe45c_1x100.png
- ui-icons_222222_256x240.png
- ui-icons_228ef1_256x240.png
- ui-icons_ef8c08_256x240.png
- ui-icons_ffd27a_256x240.png
- ui-icons_ffffff_256x240.png
- js
- Web
- WebControls.csproj
- WebControls.csproj.user
- SpinnerTest
- VisualJSSetup_1.042.zip
- spinner-noexe.zip
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using VisualJS;
using VisualJS.Web.Forms;
using System.Linq;
using System.Text;
namespace SpinnerTest.VisualJSApp
{
public partial class SpinnerForm : VisualJS.Web.Forms.Form
{
#region Constructors
public SpinnerForm()
{
InitializeComponent();
AfterInitialization();
}
//Use the below constructor if you create the instance of this Form object other than the active Thread
//otherwise you will receive "Cant locate the ClientID in active context. Consider using Form constructor with ClientID parameter" exception
public SpinnerForm(string clientId): base(clientId)
{
InitializeComponent();
AfterInitialization();
}
#endregion
//Use below method for the tasks after the initialization of the Form
void AfterInitialization()
{
}
private void btnStep_Click(object sender, EventArgs e)
{
this.spinner1.Step = 5;
}
private void button5_Click(object sender, EventArgs e)
{
}
private void button6_Click(object sender, EventArgs e)
{
this.spinner1.Min = 0;
}
private void btnOnOff_Click(object sender, EventArgs e)
{
this.spinner1.Enabled = !this.spinner1.Enabled;
}
private void btnMin_Click(object sender, EventArgs e)
{
this.spinner1.Min = 0;
}
private void btnClearMin_Click(object sender, EventArgs e)
{
this.spinner1.Min = null;
}
private void btnPage_Click(object sender, EventArgs e)
{
this.spinner1.Page = 3;
}
private void btnPageDown_Click(object sender, EventArgs e)
{
this.spinner1.PageDown();
}
private void btnPageUp_Click(object sender, EventArgs e)
{
this.spinner1.PageUp();
}
private void spinner1_TextChanged(object sender, EventArgs e)
{
lblResult.Text = spinner1.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.