private void materialRaisedButton1_Click(object sender, EventArgs e) { VotingsUser.Theme++; if (VotingsUser.Theme > 3) { VotingsUser.Theme = 0; } CommonHelpers.ChangeTheme(VotingsUser.Theme); VotingsUser.ChangeSetting("theme", VotingsUser.Theme.ToString()); }
private void materialCheckBoxUseLanLocalIP_CheckedChanged(object sender, EventArgs e) { VotingsUser.UseLanLocalIP = materialCheckBoxUseLanLocalIP.Checked; VotingsUser.ChangeSetting("useLanLocalIP", materialCheckBoxUseLanLocalIP.Checked.ToString()); }
private void materialCheckBoxPeerDiscovery_CheckedChanged(object sender, EventArgs e) { VotingsUser.PeerDiscovery = materialCheckBoxPeerDiscovery.Checked; VotingsUser.ChangeSetting("peerDiscovery", materialCheckBoxPeerDiscovery.Checked.ToString()); }
private void textBoxTrackers_TextChanged(object sender, EventArgs e) { VotingsUser.Trackers = textBoxTrackers.Text; VotingsUser.ChangeSetting("trackers", textBoxTrackers.Text.ToString()); }
private void materialCheckBoxCreateBlocks_CheckedChanged(object sender, EventArgs e) { VotingsUser.CreateOwnBlocks = materialCheckBoxCreateBlocks.Checked; VotingsUser.ChangeSetting("createOwnBlocks", materialCheckBoxCreateBlocks.Checked.ToString()); }