Esempio n. 1
0
        private void Inicio()
        {
            if (this.panelContenedor.Controls.Count > 0)
            {
                this.panelContenedor.Controls.RemoveAt(0);
            }
            AllProveedor form = new AllProveedor();

            form.TopLevel = false;
            form.Dock     = DockStyle.Fill;
            this.panelContenedor.Controls.Add(form);
            this.panelContenedor.Tag = form;
            form.Show();
        }
Esempio n. 2
0
        private void getProveedores(object sender, TileItemEventArgs e)
        {
            if (this.panelContenedor.Controls.Count > 0)
            {
                this.panelContenedor.Controls.RemoveAt(0);
            }
            AllProveedor form = new AllProveedor();

            form.TopLevel = false;
            form.Dock     = DockStyle.Fill;
            this.panelContenedor.Controls.Add(form);
            this.panelContenedor.Tag = form;
            form.Show();
        }