예제 #1
0
        private void editMemorizeItemButton_Click(object sender, RoutedEventArgs e)
        {
            MemorizeItem       item = this.memorizeItemListBox.SelectedItem as MemorizeItem;
            MemorizeItemWindow wnd  = new MemorizeItemWindow(item);

            if (wnd.ShowDialog().Value)
            {
                this.memorizeEntry.Items.Add(item);
                this.isChanged = true;
            }
        }
예제 #2
0
        private void addMemorizeItemButton_Click(object sender, RoutedEventArgs e)
        {
            MemorizeItem       item = new MemorizeItem();
            MemorizeItemWindow wnd  = new MemorizeItemWindow(item);

            if (wnd.ShowDialog().Value)
            {
                this.memorizeEntry.Items.Add(item);
                this.isChanged = true;
            }
        }