Example #1
0
        private void New_Click(object sender, RoutedEventArgs e)
        {
            Button senderButton = (Button)sender;

            if (senderButton.Name == "NewFlyout_New")
            {
                Text.Document.SetText(0, "");
            }
            NewFlyout.Hide();
        }
Example #2
0
        private void New_Click(object sender, RoutedEventArgs e)
        {
            Button senderButton = (Button)sender;

            if (senderButton.Name == "NewFlyout_New")
            {
                Message.Visibility = Visibility.Visible;
                Remove.IsEnabled   = false;

                List.Items.Clear();
                todoList.Clear();
            }
            NewFlyout.Hide();
        }
Example #3
0
 private void NewFlyoutButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     NewFlyout.Hide();
 }