private void companyMenuItem_Click(object sender, EventArgs e) { CompanyInfoForm frm = new CompanyInfoForm(); frm.Owner = this; frm.ShowDialog(); }
//关闭窗口将其从list中装入 public void DeleteCompanyInfoForm(CompanyInfoForm company) { companyInfoForms.Remove(company); }
//将公司信息窗口装入list public void CreateCompanyInfoForm(CompanyInfoForm company) { companyInfoForms.Add(company); }