private void NewI(object sender, RoutedEventArgs e) { sellItem= new item(doc); libli.Items.Add(sellItem); doc.Save("../../data.xml"); }
private void libli_SelectionChanged(object sender, SelectionChangedEventArgs e) { sellItem= libli.SelectedItem as item; Title.Text = sellItem.name; libDebug.Text = sellItem.debug; libDebug64.Text = sellItem.debug64; libRelease.Text = sellItem.release; libRelease64.Text = sellItem.release64; include.Text = sellItem.include; linkDebug.Text = sellItem.lDebug; linkDebug64.Text = sellItem.lDebug64; linkRelease.Text = sellItem.lRelease; linkRelease64.Text = sellItem.lRelease64; }