コード例 #1
0
ファイル: shippingForm.cs プロジェクト: ewin66/SCOUT_NS
        private void ManagePacklist()
        {
            // Create a new packlist if the user does not want to append
            // to an existing packlist for the day.
            Packlist packlist = m_salesOrder.GetTodaysPacklist();

            if (packlist != null)
            {
                string msg = "Packlist: " + packlist.PacklistId;
                msg += " exists for today. Would you like to append?";

                if (Scout.Core.UserInteraction.Dialog.AskQuestion(msg) == DialogResult.No)
                {
                    m_salesOrder.NewPacklistUponShipment = true;
                }
            }
        }