Example #1
0
        public void UpdateViewData()
        {
            textBoxMarkerName.Text = $"{Marker.Name}";

            itemListView = new ItemListView(Marker.Items, ItemListViewSelection.None);
            panelItems.Controls.Clear();
            panelItems.Controls.Add(itemListView);
        }
Example #2
0
        public AddItemView()
        {
            InitializeComponent();
            InitializeItems();

            itemListView = new ItemListView(items, ItemListViewSelection.SingleElement);
            itemListView.OnItemsDeselected += OnItemsDeselected;
            itemListView.OnItemsSelected   += OnItemsSelected;
            panelItems.Controls.Add(itemListView);

            buttonAddSelectedItem.Enabled = false;
        }