Ejemplo n.º 1
0
        private void tsbSo_Click(object sender, EventArgs e)
        {
            SO.NewSo newSo = new SO.NewSo(rfqId);
            newSo.FillCustomerAndContact(this.rfqItems1.tbCustomer.Text, this.rfqItems1.tbContact.Text);
            newSo.ShowDialog();

            Rfq rfq = rfqMgr.GetRfqAccordingToRfqId(rfqId);

            GuiOpAccordingToRfqState((RfqStatesEnum)rfq.rfqStates);
        }
Ejemplo n.º 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);
             */
        }
Ejemplo n.º 3
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);
               */
        }
Ejemplo n.º 4
0
 private void tsbSo_Click(object sender, EventArgs e)
 {
     SO.NewSo newSo = new SO.NewSo(rfqId);
     newSo.FillCustomerAndContact(this.rfqItems1.tbCustomer.Text, this.rfqItems1.tbContact.Text);
     newSo.ShowDialog();
 }
Ejemplo n.º 5
0
 private void tsbSo_Click(object sender, EventArgs e)
 {
     SO.NewSo newSo = new SO.NewSo(rfqId);
     newSo.FillCustomerAndContact(this.rfqItems1.tbCustomer.Text, this.rfqItems1.tbContact.Text);
     newSo.ShowDialog();
 }