private void btnCreate_Click(object sender, EventArgs e) { //Classes.MainFormCaller.mainFormCallerVortex.openChildForm(mAlgorithm); MainAlgorithm mAlgorithm = new MainAlgorithm(AlgorithmName); Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex = mAlgorithm; switch (AlgorithmName) { case "SAW": Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex.openChildForm(new PLGSAWMain()); Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex.Show(); this.Close(); Classes.MainFormCaller.mainFormCallerVortex.Hide(); break; case "Topsis": Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex.openChildForm(new PLGTOPSOSMain()); Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex.Show(); this.Close(); Classes.MainFormCaller.mainFormCallerVortex.Hide(); break; } this.Close(); }
private void BtnRecently02_Click(object sender, EventArgs e) { MainAlgorithm mAlgorithm = new MainAlgorithm("Topsis"); Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex = mAlgorithm; Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex.openChildForm(new PLGTOPSOSMain()); Classes.MainAlgorithmCaller.mainAlgorithmCallerVortex.Show(); this.Close(); Classes.MainFormCaller.mainFormCallerVortex.Hide(); }