private void StockData_Click(object sender, EventArgs e) { Form childForm = new StockForm(); childForm.MdiParent = this; childForm.Show(); }
private void ShowNewForm(object sender, EventArgs e) { Form childForm = new StockForm(); childForm.MdiParent = this; //childForm.Text = "窗口 " + childFormNumber++; childForm.Show(); }