Esempio 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;
        }
Esempio n. 2
0
        private void SetForModulationKrystal(ModulationKrystal mk)
        {
            this.Controls.Remove(LineStrandLabel);
            ModulationTreeView modulationTreeView = new ModulationTreeView(StrandsTreeView, mk);

            mk.Modulate();
            modulationTreeView.DisplayModulationResults(mk);
            StrandsTreeView.ExpandAll();
            this.Height = Screen.GetWorkingArea(this).Height;
        }
Esempio n. 3
0
        private void SetForExpansionKrystal(ExpansionKrystalBase xk)
        {
            this.Controls.Remove(LineStrandLabel);
            ExpansionTreeView expansionTreeView = new ExpansionTreeView(StrandsTreeView, xk.StrandNodeList(),
                                                                        xk.DensityInputKrystal.Level,
                                                                        xk.PointsInputKrystal.MissingAbsoluteValues);

            expansionTreeView.DisplayStrands(xk.Strands);
            StrandsTreeView.ExpandAll();
            this.Height = Screen.GetWorkingArea(this).Height;
        }
Esempio n. 4
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();
        }
Esempio n. 5
0
        private void SetForModulationKrystal(ModulationKrystal mk)
        {
            MissingValues.Text = "Missing Values:  " + _krystal.MissingValues;
            Shape.Text         = "Shape:  " + _krystal.Shape;

            StrandsTreeView.Nodes.Clear();
            ModulationTreeView modulationTreeView = new ModulationTreeView(StrandsTreeView, mk);

            mk.Modulate();
            modulationTreeView.DisplayModulationResults(mk);
            StrandsTreeView.ExpandAll();
        }
Esempio n. 6
0
        private void SetForShapedExpansionKrystal(ShapedExpansionKrystal sk)
        {
            MissingValues.Text = "Missing Values:  " + _krystal.MissingValues;
            Shape.Text         = "Shape:  " + _krystal.Shape;

            StrandsTreeView.Nodes.Clear();
            ExpansionTreeView expansionTreeView = new ExpansionTreeView(StrandsTreeView, sk.StrandNodeList(),
                                                                        sk.DensityInputKrystal.Level,
                                                                        sk.PointsInputKrystal.MissingAbsoluteValues);

            expansionTreeView.DisplayStrands(sk.Strands);
            StrandsTreeView.ExpandAll();
        }