Exemplo n.º 1
0
        private void SetForPermutationKrystal(PermutationKrystal pk)
        {
            this.Controls.Remove(LineStrandLabel);
            PermutationTreeView permutationTreeView = new PermutationTreeView(StrandsTreeView, pk);

            permutationTreeView.DisplayStrands(pk.Strands, pk.PermutationNodeList);
            StrandsTreeView.ExpandAll();
            this.Height = Screen.GetWorkingArea(this).Height;
        }
Exemplo n.º 2
0
        private void SetForPermutationKrystal(PermutationKrystal pk)
        {
            MissingValues.Text = "Missing Values:  " + _krystal.MissingValues;
            Shape.Text         = "Shape:  " + _krystal.Shape;

            StrandsTreeView.Nodes.Clear();
            PermutationTreeView permutationTreeView = new PermutationTreeView(StrandsTreeView, pk);

            //pk.Permute();
            permutationTreeView.DisplayStrands(pk.Strands, pk.PermutationNodeList);
            StrandsTreeView.ExpandAll();
        }