示例#1
0
 private void NewButton_Click(object sender, RoutedEventArgs e)
 {
     ListViewTemplate view = new ListViewTemplate();
     view.npcid = 0;
     view.itemlist = new List<long>();
     DataListBox.Items.Add(view);
 }
示例#2
0
        private void NewButton_Click(object sender, RoutedEventArgs e)
        {
            ListViewTemplate view = new ListViewTemplate();

            view.npcid    = 0;
            view.itemlist = new List <long>();
            DataListBox.Items.Add(view);
        }
示例#3
0
        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);
            }
        }
示例#4
0
        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);
            }
        }