Exemple #1
0
        private void tsbSo_Click(object sender, EventArgs e)
        {
            //
            SoItemPicker picker = new SoItemPicker(rfq.customerName, rfqId, (RfqStatesEnum)rfq.rfqStates);

            if (DialogResult.OK == picker.ShowDialog())
            {
                List <int> ids   = picker.RfqIdsForSo;
                SO.NewSo   newSo = new SO.NewSo(ids);
                if (DialogResult.Yes == newSo.ShowDialog())
                {
                    Rfq rfq1 = RfqMgr.GetRfqAccordingToRfqId(rfqId);
                    GuiOpAccordingToRfqState((RfqStatesEnum)rfq1.rfqStates);
                }
            }



            /*
             * newSo.FillContact(this.rfqItems1.tbContact.Text);
             */
        }
Exemple #2
0
        private void tsbSo_Click(object sender, EventArgs e)
        {
            //
            SoItemPicker picker = new SoItemPicker(rfq.customerName,rfqId,(RfqStatesEnum)rfq.rfqStates);
            if (DialogResult.OK == picker.ShowDialog())
            {
                List<int> ids = picker.RfqIdsForSo;
                SO.NewSo newSo = new SO.NewSo(ids);
                if (DialogResult.Yes == newSo.ShowDialog())
                {
                    Rfq rfq1 = RfqMgr.GetRfqAccordingToRfqId(rfqId);
                    GuiOpAccordingToRfqState((RfqStatesEnum)rfq1.rfqStates);
                }
            }

               /*
               newSo.FillContact(this.rfqItems1.tbContact.Text);
               */
        }