Exemple #1
0
        /// <summary>
        /// Creates an Dialog for the given Alignment und shows it
        /// </summary>
        /// <param name="_alignment"></param>
        public static void ShowDialogForAlignment(NeedlemanWunsch _alignment)
        {
            DialogNeedlemanWunschShowAlign dialog = new DialogNeedlemanWunschShowAlign();

            dialog.SetData(_alignment);
            dialog.Show();
        }
Exemple #2
0
        private void btnBuildAlignment_Click(object sender, EventArgs e)
        {
            // Do some checks
            if (DoChecks())
            {
                // Create the Alignment
                NeedlemanWunsch nw = new NeedlemanWunsch(this.controlSequencesA.SequencesSelected, this.controlSequencesB.SequencesSelected, this.controlOptions.Options);

                DialogNeedlemanWunschShowAlign.ShowDialogForAlignment(nw);
            }
        }