Exemple #1
0
 private void btn_ConsultaMaterial_Click_2(object sender, EventArgs e)
 {
     consulta = new frmConsultaTipoMaterial();
     consulta.ShowDialog();
     cTipoMaterial                = consulta.clastm;
     txt_CodigoMaterial.Text      = cTipoMaterial.codigo.ToString();
     txt_DescripcionMaterial.Text = cTipoMaterial.descripcion;
     cbx_EstadoMaterial.EditValue = Convert.ToString(cTipoMaterial.estado);
 }
 private void btn_ConsultaMaterial_Click_2(object sender, EventArgs e)
 {
     consulta = new frmConsultaTipoMaterial();
     consulta.ShowDialog();
     cTipoMaterial  = consulta.clastm;
     txt_CodigoMaterial .Text = cTipoMaterial.codigo.ToString();
     txt_DescripcionMaterial.Text = cTipoMaterial.descripcion;
     cbx_EstadoMaterial.EditValue = Convert.ToString(cTipoMaterial.estado);
 }
 private void btn_ConsultaMaterial_Click_1(object sender, EventArgs e)
 {
     consulta = new frmConsultaTipoMaterial();
     consulta.Event_frmConsultaTipoMaterial_FormClosing += new frmConsultaTipoMaterial.delegate_frmConsultaTipoMaterial_FormClosing(consulta_Event_frmConsultaTipoMaterial_FormClosing);
     consulta.Show();
 }
Exemple #4
0
 private void btn_ConsultaMaterial_Click_1(object sender, EventArgs e)
 {
     consulta = new frmConsultaTipoMaterial();
     consulta.Event_frmConsultaTipoMaterial_FormClosing += new frmConsultaTipoMaterial.delegate_frmConsultaTipoMaterial_FormClosing(consulta_Event_frmConsultaTipoMaterial_FormClosing);
     consulta.Show();
 }