private void button1_Click(object sender, EventArgs e)
        {
            this.panelcentral.Controls.Clear();
            this.panelaltas.BackColor     = this.cnone;
            this.panelbajas.BackColor     = this.cnone;
            this.panelconsultas.BackColor = this.cfondo;

            this.spi = new seeproductsinternal(this)
            {
                TopLevel = false
            };
            this.panelcentral.Controls.Add(spi);
            this.spi.Dock = DockStyle.Fill;
            spi.Show();
        }
        private void btnproductos_Click(object sender, EventArgs e)
        {
            this.lblinst.Visible = false;

            this.panelcentral.Controls.Clear();

            this.panelventas.BackColor    = genericDefinitions.btnfreecolor;
            this.panelclientes.BackColor  = genericDefinitions.btnfreecolor;
            this.panelproductos.BackColor = genericDefinitions.btnselectedcolor;
            this.panelSesion.BackColor    = genericDefinitions.btnfreecolor;
            this.consproductos            = new seeproductsinternal(this)
            {
                TopLevel = false
            };
            this.panelcentral.Controls.Add(this.consproductos);
            this.consproductos.Dock = DockStyle.Fill;
            this.consproductos.Show();
        }
예제 #3
0
 private void btnBuscaproducto_Click(object sender, EventArgs e)
 {
     this.buscaProducto = new seeproductsinternal(this);
     this.buscaProducto.ShowDialog();
 }