public Utilities(Calificative calificative) { InitializeComponent(); this.calificative = calificative; this.model = calificative.getMatrix(); calificative.fillDataGrid(matrice); fillUtilities(); }
public ConcDisco(Calificative calificative, Utilities utilities) { InitializeComponent(); this.calificative = calificative; this.utilities = utilities; this.model = utilities.getMatrix(); this.fillDataGrid(); this.fillConcordante(); this.fillDiscordante(); this.fillMinC(1); this.fillMaxD(1); this.fillFinalCol(1); this.chooseBestPerson(); }
private void submit_button_Click(object sender, EventArgs e) { this.critList = createCriteria(); if (critList == null) { return; } if (critList.Count != crit_updown.Value) { MessageBox.Show("Numarul de criterii difera de numarul de coeficienti de importanta !"); return; } Calificative calificative = new Calificative(this); calificative.Show(); if (testValues_checkBox.Checked) { calificative.testFill(); } }