private void buttonNewOnicescuDecision_Click(object sender, EventArgs e) { dialogName dialog = new dialogName(); dialog.ShowDialog(); if (dialog.DialogResult == DialogResult.OK) { onicescuDecisionForm onicescuForm = new onicescuDecisionForm(); onicescuForm.Show(); } }
private void buttonNewScoreDecision_Click(object sender, EventArgs e) { dialogName dialog = new dialogName(); dialog.ShowDialog(); if (dialog.DialogResult == DialogResult.OK) { scoreNodesForm scoreForm = new scoreNodesForm(dialog.textBoxName.Text.Trim()); scoreForm.Show(); } }