Ejemplo n.º 1
0
 private void OnPrint_Click(object sender, EventArgs e)
 {
     if (_isBusy || _currentPapers == null)
     {
         return;
     }
     //if (currentPapers == null) return;
     _isBusy = true;
     _currentPapers.CadPaperProgress += OnCadPaperProgress;
     _currentPapers.Plot();
 }
Ejemplo n.º 2
0
        private void menuPrintSelected_Click(object sender, EventArgs e)
        {
            if (_isBusy || !_hasFillter)
            {
                return;
            }
            CadPapers selectedPapers = GetCurrentSelectedCadPapers();

            if (selectedPapers != null)
            {
                _isBusy = true;
                selectedPapers.CadPaperProgress += OnCadPaperProgress;
                selectedPapers.Plot();
            }
        }