private void kmeansToolStripMenuItem_Click(object sender, EventArgs e) { bool flag = CheckProfilesExist(); KMeansForm km = new KMeansForm(manager.opt.kmeans, flag, (INPUTMODE)comboBox1.SelectedItem, GetAlignedProfiles()); DialogResult res = km.ShowDialog(); if (res == DialogResult.OK) { manager.opt.kmeans = km.localObj; manager.opt.clusterAlgorithm.Clear(); manager.opt.clusterAlgorithm.Add(ClusterAlgorithm.Kmeans); Run(); } }
private void kmeansToolStripMenuItem_Click(object sender, EventArgs e) { bool flag = CheckProfilesExist(); KMeansForm km = new KMeansForm(manager.opt.kmeans, flag, (INPUTMODE)comboBox1.SelectedItem,GetAlignedProfiles()); DialogResult res = km.ShowDialog(); if (res == DialogResult.OK) { manager.opt.kmeans = km.localObj; manager.opt.clusterAlgorithm.Clear(); manager.opt.clusterAlgorithm .Add(ClusterAlgorithm.Kmeans); Run(); } }