Exemple #1
0
        private void PanelArticles_Resize(object sender, EventArgs e)
        {
            CustomGridPanel panel = (CustomGridPanel)sender;

            if (panel.SizeAutomatica)
            {
                this.panelArticulos.RefreshPanel(new ArticuloCarrito());
            }
        }
Exemple #2
0
        private void PanelArticles_Resize(object sender, EventArgs e)
        {
            CustomGridPanel panel = (CustomGridPanel)sender;

            if (panel.SizeAutomatica)
            {
                if (panel.Width < 794)
                {
                    panel.Width = 794;
                }

                this.panelArticles.RefreshPanel(new ArticuloSmall());
            }
        }