{
if (dataGridView3.Rows.Count > 0 && dataGridView3.CurrentCell != null
&& dataGridView3.Rows[dataGridView3.CurrentCell.RowIndex].DataBoundItem != null)
{
deskDataSet.ЗаявкаRow d =
(deskDataSet.ЗаявкаRow)((DataRowView)dataGridView3.Rows[dataGridView3.CurrentCell
.RowIndex].DataBoundItem).Row;
if (d != null)
{
FormZayavka f = new FormZayavka();
f.LoadData(d, user, isp, op);
f.StartPosition = FormStartPosition.CenterScreen;
f.ShowDialog();
}
}
}
private void dataGridView4_CellDoubleClick(object sender,
DataGridViewCellEventArgs e)
{
if (dataGridView4.Rows.Count > 0 && dataGridView4.CurrentCell != null
&& dataGridView4.Rows[dataGridView4.CurrentCell.RowIndex].DataBoundItem != null)
{
deskDataSet.ЗаявкаRow d =
(deskDataSet.ЗаявкаRow)((DataRowView)dataGridView4.Rows[dataGridView4.CurrentCell
.RowIndex].DataBoundItem).Row;
if (d != null)
{
FormZayavka f = new FormZayavka();
f.LoadData(d, user, isp, op);
f.StartPosition = FormStartPosition.CenterScreen;
f.ShowDialog();
SetFilterIsp();
}
}
}
private void dataGridView5_CellDoubleClick(object sender,
DataGridViewCellEventArgs e)
{
if (dataGridView5.Rows.Count > 0 && dataGridView5.CurrentCell != null
&& dataGridView5.Rows[dataGridView5.CurrentCell.RowIndex].DataBoundItem != null)
{
deskDataSet.ЗаявкаRow d =
(deskDataSet.ЗаявкаRow)((DataRowView)dataGridView5.Rows[dataGridView5.CurrentCell
.RowIndex].DataBoundItem).Row;
if (d != null)
{
FormZayavka f = new FormZayavka();
f.LoadData(d, user, isp, op);
f.StartPosition = FormStartPosition.CenterScreen;
f.ShowDialog();