示例#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();
        }
示例#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();
        }