コード例 #1
0
        private void lbItems_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var itm = (lbItems.SelectedItem as QueueItem);

            if (itm != null)
            {
                if (_dlg != null && !_dlg.IsVisible && _dlgShown)
                {
                    SetSelectedItem(itm);
                }

                if (itm.Queue.Type == QueueType.Error) // Move back to origin
                {
                    _sys.MoveErrorMessageToOriginQueue(itm);
                }
            }
        }