private void NewButton_Click(object sender, RoutedEventArgs e) { ListViewTemplate view = new ListViewTemplate(); view.npcid = 0; view.itemlist = new List<long>(); DataListBox.Items.Add(view); }
private void NewButton_Click(object sender, RoutedEventArgs e) { ListViewTemplate view = new ListViewTemplate(); view.npcid = 0; view.itemlist = new List <long>(); DataListBox.Items.Add(view); }
private void Window_Loaded(object sender, RoutedEventArgs e) { DropBuilder.GetDropTemplate(); foreach (var data in DropBuilder.Drop) { ListViewTemplate view = new ListViewTemplate(); view.npcid = data.Key; view.itemlist = data.Value; DataListBox.Items.Add(view); } }