Пример #1
0
        private void CheckBoxCreateBlocks_Click(object sender, EventArgs e)
        {
            CheckBox checkBoxCreateBlocks = FindViewById <CheckBox>(Resource.Id.checkBoxCreateBlocks);

            VotingsUser.CreateOwnBlocks = checkBoxCreateBlocks.Checked;
            VotingsUser.ChangeSetting("createOwnBlocks", checkBoxCreateBlocks.Checked.ToString());
        }
Пример #2
0
        private void CheckBoxDiscovery_Click(object sender, EventArgs e)
        {
            CheckBox checkBoxDiscovery = FindViewById <CheckBox>(Resource.Id.checkBoxPeerDiscovery);

            VotingsUser.PeerDiscovery = checkBoxDiscovery.Checked;
            VotingsUser.ChangeSetting("peerDiscovery", checkBoxDiscovery.Checked.ToString());
        }
Пример #3
0
        private void EditTextTrackers_TextChanged(object sender, EventArgs e)
        {
            EditText editTextTrackers = FindViewById <EditText>(Resource.Id.editTextTrackers);

            VotingsUser.Trackers = editTextTrackers.Text;
            VotingsUser.ChangeSetting("trackers", editTextTrackers.Text.ToString());
        }
Пример #4
0
        private void CheckBoxLocalIP_Click(object sender, EventArgs e)
        {
            CheckBox checkBoxLocalIP = FindViewById <CheckBox>(Resource.Id.checkBoxUseLanLocalIP);

            VotingsUser.UseLanLocalIP = checkBoxLocalIP.Checked;
            VotingsUser.ChangeSetting("useLanLocalIP", checkBoxLocalIP.Checked.ToString());
        }