Beispiel #1
0
        void bs_PositionChanged(object sender, EventArgs e)
        {
            DataTable dt = tables[bs.Position];

            this.Limpiar();
            OnBsPositionChanged?.Invoke(dt, e);
        }
        private void bs_PositionChangedDataTable(object sender, EventArgs e)
        {
            DataTable dt = tables[bs.Position];

            if (this.Controls.Count > 0)
            {
                this.Limpiar();
            }

            OnBsPositionChanged?.Invoke(dt, e);
        }
        private void bs_PositionChangedList(object sender, EventArgs e)
        {
            List <UserControl> list = UserControls[bs.Position];

            if (this.Controls.Count > 0)
            {
                this.Limpiar();
            }

            OnBsPositionChanged?.Invoke(list, e);
        }