Пример #1
0
        protected override int Query( )
        {
            Operation.FormStatorCoilQuery from = new Operation.FormStatorCoilQuery("制动器组装");
            if (from.ShowDialog( ) == System.Windows.Forms.DialogResult.OK)
            {
                _bra.BRA001 = _brb.BRB001 = from.getCodeNum;

                wait.Show( );
                backgroundWorker1.RunWorkerAsync( );
            }

            return(base.Query( ));
        }
Пример #2
0
        protected override int Query( )
        {
            Operation.FormStatorCoilQuery from = new Operation.FormStatorCoilQuery("定子绕圈组装");
            if (from.ShowDialog( ) == System.Windows.Forms.DialogResult.OK)
            {
                _stc        = new ProductionErpEntity.StatorCoilSTCEntity( );
                _stc.STC001 = from.getCodeNum;

                wait.Show( );
                backgroundWorker1.RunWorkerAsync( );
            }

            return(base.Query( ));
        }