Ejemplo n.º 1
0
        private void buttonpga_Click(object sender, EventArgs e)
        {
            //Для ПГА логика другая!!!!!!

            // QueueTask _queueT = null;
            if (_queueT == null)
            {
                _queueT = new QueueTask(bcr, ListScanOperation.TaskPGA);
                _queueT.Show();
            }

            else
            {
                if (_queueT.FormActive)
                {
                }
                else
                {
                    _queueT.Close();
                    // UIEU.Dispose();
                    _queueT = new QueueTask(bcr, ListScanOperation.TaskPGA);
                    _queueT.Show();
                }
            }
        }
Ejemplo n.º 2
0
        private void buttonapr_Click(object sender, EventArgs e)
        {
            if (_queueT == null)
            {
                _queueT = new QueueTask(bcr, ListScanOperation.TaskPGA);
                _queueT.Show();
            }

            else
            {
                if (_queueT.FormActive)
                {
                }
                else
                {
                    _queueT.Close();
                    // UIEU.Dispose();
                    _queueT = new QueueTask(bcr, ListScanOperation.TaskPGA);
                    _queueT.Show();
                }
            }
        }