public void Switch(ExpenseItem item) { if (item.IsExp()) { if (!this.exp.Contains(item)) { return; } this.exp.Remove(item); item.SwitchType(); this.inc.Add(item); } else { if (!this.inc.Contains(item)) { return; } this.inc.Remove(item); item.SwitchType(); this.exp.Add(item); } this.OnPropertyRaised("updated"); }