private void button2_Click(object sender, EventArgs e) { FrmOrderInfo foi = new FrmOrderInfo(order_id); foi.MdiParent = this.MdiParent; foi.Show(); }
private void tsmiOrderInfo_Click(object sender, EventArgs e) { if (dataGridView1.SelectedRows.Count > 0) { FrmOrderInfo foi = new FrmOrderInfo((dataGridView1.SelectedRows[0].DataBoundItem as humanresourcesDataSet.vw_orderRow).Order_id); foi.MdiParent = this.MdiParent; foi.Show(); } }
private void button1_Click(object sender, EventArgs e) { FrmOrderInfo foi = new FrmOrderInfo(EditOrder.Order_id); foi.MdiParent = this.MdiParent; foi.Show(); this.Close(); }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex>=0) { FrmOrderInfo foi = new FrmOrderInfo((dataGridView1.SelectedRows[0].DataBoundItem as humanresourcesDataSet.vw_orderRow).Order_id); foi.MdiParent = this.MdiParent; foi.Show(); } }