When the app starts I want to have a note selection screen which displays the headers of your notes but I don't know how to code that view
private void ReadFiles()
{
IsolatedStorageFileStream savedNote = storage.OpenFile("noteHeaders.txt", FileMode.Open, FileAccess.Read);
StreamReader reader = new StreamReader(savedNote);
string notes = reader.ReadToEnd();
for (int i = 0; i < CountLinesInString(notes); i++)
{
block[i] = new TextBlock();
block[i].Text = "hello world";
block[i].DoubleTap += MainPage_DoubleTap;
notePanel.Children.Add(block[i]);
}
}
void MainPage_DoubleTap(object sender, System.Windows.Input.GestureEventArgs e)
{
//open up the note taking window
}

New Topic/Question
Reply


MultiQuote





|