public FrmGetMatchPalletCode(FrmAssorted frmAssorted, AssortedService assortedService, string mathchPalletName)
        {
            Cursor.Current = Cursors.WaitCursor;
            InitializeComponent();

            FrmAssorted     = frmAssorted;
            AssortedService = assortedService;
            labInfo.Text    = "配盘名称:" + mathchPalletName;
            Cursor.Current  = Cursors.Default;
            txtScanCode.Focus();
        }
        public FrmPalletDetail(FrmGetMatchPalletCode frmScanBarCode, FrmAssorted frmAssorted, AssortedService assortedService)
        {
            Cursor.Current = Cursors.WaitCursor;
            InitializeComponent();

            FrmAssorted     = frmAssorted;
            modelList       = new List <MatchPalletPlanDetailModel>();
            FrmScanBarCode  = frmScanBarCode;
            AssortedService = assortedService;

            ShowAssortedDetailAndSyncModelList();
            Cursor.Current = Cursors.Default;
        }