Пример #1
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;
        }
Пример #2
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();
        }