예제 #1
0
        private void thresholdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool           flag = CheckProfilesExist();
            ThresholdCForm km   = new ThresholdCForm(manager.opt.threshold, flag, GetAlignedProfiles());

            DialogResult res = km.ShowDialog();

            if (res == DialogResult.OK)
            {
                manager.opt.threshold = km.localObj;
                manager.opt.clusterAlgorithm.Clear();
                manager.opt.clusterAlgorithm.Add(ClusterAlgorithm.BakerCluster);
                Run();
            }
        }
예제 #2
0
        private void thresholdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool flag = CheckProfilesExist();
            ThresholdCForm km = new ThresholdCForm(manager.opt.threshold,flag,GetAlignedProfiles());

            DialogResult res = km.ShowDialog();
            if (res == DialogResult.OK)
            {
                manager.opt.threshold = km.localObj;
                manager.opt.clusterAlgorithm.Clear();
                manager.opt.clusterAlgorithm.Add(ClusterAlgorithm.BakerCluster);
                Run();
            }
        }