34 lines
737 B
C#
34 lines
737 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SanSystem.Einstellungen
|
|
{
|
|
class StreetListSettings : Settings
|
|
{
|
|
public StreetListSettings() : base("StreetList")
|
|
{
|
|
}
|
|
|
|
public void SetRadioButton(string what)
|
|
{
|
|
if (what.Equals("Sorted"))
|
|
setConfig("ort_selected", 1);
|
|
else
|
|
setConfig("ort_selected", 0);
|
|
}
|
|
|
|
public bool SortedSelected()
|
|
{
|
|
return (getConfiguration("ort_selected") > 0);
|
|
}
|
|
|
|
public override void InitDevValues()
|
|
{
|
|
configuration.Add("ort_selected", 0);
|
|
}
|
|
}
|
|
}
|