private void btnOK_Click(object sender, EventArgs e) { Sounds.ButtonClick(); Program.Modified = true; SaveChanges(); Close(); }
private void chkEncumbrance_CheckedChanged(object sender, EventArgs e) { if (!Drawing) { Sounds.ButtonClick(); } Encumbrance = chkEncumbrance.Checked; }
private void chkCoinWeight_CheckedChanged(object sender, EventArgs e) { if (!Drawing) { Sounds.ButtonClick(); } CoinWeight = chkCoinWeight.Checked; }
private void chkAnimalCompanion_CheckedChanged(object sender, EventArgs e) { if (!Drawing) { Sounds.ButtonClick(); } AnimalCompanion = chkAnimalCompanion.Checked; }
private void chkTab_CheckedChanged(object sender, EventArgs e) { if (!Drawing) { Sounds.ButtonClick(); } RememberTab = chkTab.Checked; }
private void chkMute_CheckedChanged(object sender, EventArgs e) { if (!Drawing) { Sounds.ButtonClick(); } Mute = chkMute.Checked; }
private void chkAutosave_CheckedChanged(object sender, EventArgs e) { if (!Drawing) { Sounds.ButtonClick(); } Autosave = chkAutosave.Checked; trkAutosave.Enabled = Autosave; oAutosaveInterval.Enabled = Autosave; }
private void btnDivideLoot_Click(object sender, EventArgs e) { Player loot; Sounds.ButtonClick(); oDivideLootGrid.Rows.Clear(); ParsePlayers(); loot = ParseLoot(); Distribute(loot); FillList(); }
private void oUsed9_DoubleClick(object sender, EventArgs e) { if ((Program.Character.Spellcasting.NineUsed + 1) <= Program.Character.Spellcasting.NineTotal) { Program.Character.Spellcasting.NineUsed++; Program.Modified = true; Sounds.ButtonClick(); if (Program.Character.Spellcasting.NineUsed == Program.Character.Spellcasting.NineTotal) { oUsed9.Cursor = Cursors.Default; } Invalidate(); } }
private void btnCancel_Click(object sender, EventArgs e) { Sounds.ButtonClick(); Close(); }
private void btnReset_Click(object sender, EventArgs e) { Sounds.ButtonClick(); DefaultValues(); oDivideLootGrid.Rows.Clear(); }