예제 #1
0
        private void servicioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmBusquedaServicio MiBusquedaServicio = new FrmBusquedaServicio();

            MiBusquedaServicio.MdiParent = this;
            MiBusquedaServicio.Show();
        }
예제 #2
0
        private void btnServicio_Click(object sender, EventArgs e)
        {
            FrmBusquedaServicio frm = new FrmBusquedaServicio();

            frm.ShowDialog();
            txtIdServicio.Text = Convert.ToString(frm.dgvSer.CurrentRow.Cells[0].Value);
            txtNombreSer.Text  = Convert.ToString(frm.dgvSer.CurrentRow.Cells[1].Value);
            txtPrecio.Text     = Convert.ToString(frm.dgvSer.CurrentRow.Cells[2].Value);
            this.Show();
        }