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

            if (panel.SizeAutomatica)
            {
                this.panelArticulos.RefreshPanel(new ArticuloCarrito());
            }
        }
예제 #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());
            }
        }