public List<string> myitems { get; set; }
//Store All unique ID of this date in a list
public void myitem(string Index)
{
myitems.Add(Index);
}
if (temp.Start == received)
{
scheduledItem scheduleditem = new scheduledItem(temp.Name, "1pm", "true");
DataCollection.Add(scheduleditem);
myitem(temp.UniqueID.ToString());
}
else
{
MessageBox.Show("Nothing");
}
知道 myitems.add(index) 出了什么问题;?