SetSpinRange() public method

public SetSpinRange ( double min, double max ) : void
min double
max double
return void
Esempio n. 1
0
    //show spinbutton window asking for how many people to create
    private void on_person_add_multiple_clicked(object o, EventArgs args)
    {
        genericWin = GenericWindow.Show(Catalog.GetString("Select number of persons to add") + "\n" +
                Catalog.GetString("If you want to add more than 40 persons, do this process two times.")
                , Constants.GenericWindowShow.SPININT);

        genericWin.LabelSpinInt = "";
        genericWin.SetSpinRange(1.0, 40.0);
        genericWin.Button_accept.Clicked += new EventHandler(on_person_add_multiple_prepared);
    }