コード例 #1
0
        private void ListItemEdit_Click(object sender, RoutedEventArgs e)
        {
            var           val           = ((Button)sender).Tag;
            AddItemWindow addItemWindow = new AddItemWindow(_currentListId, "Edit", (int)val);

            addItemWindow.Show();
        }
コード例 #2
0
        private void AddItem_Click(object sender, RoutedEventArgs e)
        {
            AddItemWindow addItemWindow = new AddItemWindow(_currentListId, "Add", 0);

            addItemWindow.Show();
        }