Ejemplo n.º 1
0
 private void 订单信息录入ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FrmOrderInfoAdd childForm = new FrmOrderInfoAdd();
     childForm.MdiParent = this;
     childForm.Show();
     childForm.BringToFront();
 }
Ejemplo n.º 2
0
 private void tsmiAddOrder_Click(object sender, EventArgs e)
 {
     FrmOrderInfoAdd foa = new FrmOrderInfoAdd((this.dataGridView1.SelectedRows[0].DataBoundItem as DataRowView).Row as humanresourcesDataSet.clientRow);
     foa.MdiParent = this.MdiParent;
     foa.Show();
 }