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; }
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; }
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; }
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(); }
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(); }
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(); }