Beispiel #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);
        }
Beispiel #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);
             */
        }
Beispiel #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);
               */
        }
Beispiel #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();
 }
Beispiel #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();
 }