public void LoadInterfaceValues(string prefix)
        {
            textBox1.Text        = GPUserDefaults.StringForKey(prefix + ".gtr_count", "1");
            radioButton1.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_1", false);
            radioButton2.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_2", false);
            radioButton3.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_3", false);
            radioButton4.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_4", true);
            radioButton5.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_5", false);
            radioButton6.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_6", false);
            radioButton7.Checked = GPUserDefaults.BoolForKey(prefix + ".gtr_7", false);

            Recalculatedate();
        }
Beispiel #2
0
        public void LoadInterfaceValues(string prefix)
        {
            initPrefix = prefix;
            tabControl1.SelectedIndex = GPUserDefaults.IntForKey(prefix + ".tabctrl", 0);
            textBox1.Text             = GPUserDefaults.StringForKey(prefix + ".findtext", "");
            textBox2.Text             = GPUserDefaults.StringForKey(prefix + ".city", "");
            modifiedFlagAdded         = true;
            comboBox1.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cc", -1);
            comboBox2.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cb2", 0);
            comboBox3.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cb3", 0);
            comboBox4.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cb4", 0);
            comboBox5.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cb5", 0);
            comboBox6.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cb6", 0);
            comboBox7.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".cb7", 0);
            comboBox8.SelectedIndex   = GPUserDefaults.IntForKey(prefix + ".tzoneindex", -1);
            modifiedFlagAdded         = GPUserDefaults.BoolForKey(prefix + ".modifyflag", false);

            LoadProvider();
        }