ArgumentNullException on changing frame
问题 So I'm trying to change frames in a windows 8 app. I tried following the tutorial at this page, but I keep getting the same error. I'm getting an ArgumentNullException on the line: frameState[_pageKey] = pageState; in the LayoutAwarePage.cs class, in the OnNavigatedFrom method. Now I'm not sure why I get this error, because I feel that there is nothing that could cause it in my code. My button onclick function has this code: DateTime chosenDateTime = new DateTime(year, month, day, hours,