protected override void OpenOrderDetails(int rowIndex) { if (rowIndex >= soList.Count) return; int realRowIndex = Convert.ToInt32(dataGridView1.Rows[rowIndex].Cells["No"].Value); SO.SoView soView=new SO.SoView(soList[realRowIndex]); if (DialogResult.Yes == soView.ShowDialog()) { FillTheDataGrid(); } }
protected override void OpenOrderDetails(int rowIndex) { if (rowIndex >= soList.Count) { return; } int realRowIndex = Convert.ToInt32(dataGridView1.Rows[rowIndex].Cells["No"].Value); SO.SoView soView = new SO.SoView(soList[realRowIndex]); if (DialogResult.Yes == soView.ShowDialog()) { FillTheDataGrid(); } }
private void tsbViewSo_Click(object sender, EventArgs e) { SO.SoView soView = new SO.SoView(rfqId); soView.ShowDialog(); }