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