Ejemplo n.º 1
0
        //更新item
        public void updateCheckbookItem(string cost, string name, DateTime datetime, bool state, string note)
        {
            var i = selectedItem;

            //i.CNO = CNO.ToString();
            i.COST       = cost;
            i.STATE      = state;
            i.DATETIME   = datetime;
            i.NOTE       = note;
            i.NAME       = name;
            selectedItem = null;
        }
Ejemplo n.º 2
0
 //添加
 public void RemoveCheckbookItem(string arg)
 {
     allItems.Remove(this.selectedItem);
     selectedItem = null;
 }