//Send to other form private void btnSave_Click(object sender, EventArgs e) { BlueprintEditor blueprintForm = (BlueprintEditor)Application.OpenForms["BlueprintEditor"]; blueprintForm.getDataFromPopup(QUANTITY_NEW.Text, RESOURCES_NEW.Text, formType); this.Close(); }
//open blueprint editor private void openBlueprintEditor_Click(object sender, EventArgs e) { BlueprintEditor openBPEditor = new BlueprintEditor(); openBPEditor.Show(); }