示例#1
0
        private async void btnPickedUp_Click(object sender, EventArgs e)
        {
            //int selectedindex = lstbxC_Finished.SelectedItems.IndexOf();
            //int val = lstbxC_Finished.Ge

            foreach (int myitem in lstbxC_Finished.SelectedItems)
            {
                //label2.Text = label2.Text + "tea" + myitem;
                await _repo.SetOrderPickedUpToAsync(myitem, true);
            }

            btnRefresh.PerformClick();
        }