Esempio n. 1
0
        protected void OnTallyClassChanged()
        {
            _BS_TallyClass.DataSource = TallyClass;

            if (TallyClass != null)
            {
                //_tallyField_CmbB.SelectedItem = TallyClass.Field.ToString();

                _lowerPanel.SuspendLayout();
                foreach (var tallyPop in TallyClass.TallyPopulations)
                {
                    var newPopRow = new FixCNTTallyPopulationRow()
                    {
                        TallyPopulation = tallyPop
                    };

                    _lowerPanel.Controls.Add(newPopRow);
                }
                _lowerPanel.ResumeLayout(true);
            }
        }
        protected void OnTallyClassChanged()
        {
            _BS_TallyClass.DataSource = TallyClass;

            if (TallyClass != null)
            {
                //_tallyField_CmbB.SelectedItem = TallyClass.Field.ToString();

                _lowerPanel.SuspendLayout();
                foreach (var tallyPop in TallyClass.TallyPopulations)
                {
                    var newPopRow = new FixCNTTallyPopulationRow()
                    {
                        TallyPopulation = tallyPop
                    };

                    _lowerPanel.Controls.Add(newPopRow);
                }
                _lowerPanel.ResumeLayout(true);
            }
        }