private void btnBUSCAR_Click(object sender, EventArgs e)
        {
            Articulos frm = new Articulos("Buscar");

            frm.FormBorderStyle = FormBorderStyle.None;
            DialogResult dr = frm.ShowDialog();

            if (dr == DialogResult.OK)
            {
                oArticulo        = frm.ArticuloSelec;
                textbox_Art.Text = oArticulo.Descripcion;
                //cmbPROVEEDOR.SelectedItem = oPROVEEDOR;
            }
        }
Example #2
0
        private void btnBUSCAR_Click(object sender, EventArgs e)
        {
            Articulos frm = new Articulos("Buscar");

            frm.Size            = new Size(646, 382);
            frm.StartPosition   = FormStartPosition.CenterParent;
            frm.FormBorderStyle = FormBorderStyle.None;
            DialogResult dr = frm.ShowDialog();

            if (dr == DialogResult.OK)
            {
                oArticulo         = frm.ArticuloSelec;
                textbox_Desc.Text = oArticulo.Descripcion;
                textbox_Id.Text   = oArticulo.Id.ToString();
            }
        }