private void ManufacturerManage_Click(object sender, EventArgs e) { if (!CheckDog()) { return; } FormCollection fc = Application.OpenForms; if (fc["ManufacturerManageForm"] == null) { ManufacturerManageForm manufacturerManageForm = new ManufacturerManageForm(); manufacturerManageForm.ShowDialog(); } else { fc["ManufacturerManageForm"].Select(); } //if (CreateTab("生产厂家管理", "生产厂家管理")) //{ // ManufacturerManageForm manufacturerManageForm = new ManufacturerManageForm(); // SetTab(manufacturerManageForm); //} }
private void btnInsert_Click(object sender, EventArgs e) { ManufacturerManageForm mmf = new ManufacturerManageForm(); mmf.ShowDialog(); BandingDgv(); }