private void B_EditVisitors_Click(object sender, EventArgs e) { var boxed = SAV.Main.Visitor; using var editor = new SingleObjectEditor <object>(boxed, PropertySort.NoSort, false); if (editor.ShowDialog() == DialogResult.OK) { SAV.Main.Visitor = boxed; } }
private void B_EditTurnipExchange_Click(object sender, EventArgs e) { var turnips = SAV.Main.Turnips; using var editor = new SingleObjectEditor <TurnipStonk>(turnips, PropertySort.Categorized, false); if (editor.ShowDialog() == DialogResult.OK) { SAV.Main.Turnips = turnips; } }