/// <inheritdoc/>
        public void FireOnItemSelected(ItemRowViewModel selectedItem)
        {
            var e = new SelectedItemEventArgs();

            e.SelectedItem = selectedItem;
            OnSelectedItem?.Invoke(this, e);
        }
Beispiel #2
0
        private void searchItemControl1_OnSelectedItem(object sender, Controls.SelectedItemEventArgs e)
        {
            State.SelectedItem = e.SelectedItem;

            _presenter.LoadSelectedItemDetails();

            pnlDispenseItem.Visible = true;
            ucSearchItem.Visible    = false;

            Load_ItemsRecord();
        }