private void FrmEdProveedor_Load(object sender, EventArgs e)
        {
            // TODO: esta línea de código carga datos en la tabla 'sistemaComprasDataSet.Identificacion' Puede moverla o quitarla según sea necesario.
            this.identificacionTableAdapter.Fill(this.sistemaComprasDataSet.Identificacion);

            if (!Modo.Equals("C"))
            {
                txtIdProveedor.Text = IdProveedor.ToString();
                cbxTipoIdentificacion.SelectedValue = TipoIdentificacion;
                txtIdentificacion.Text = Identificacion;
                txtNombre.Text         = Nombre;


                if (cbEstado.Checked == true)
                {
                    Estado = true;
                }
                else
                {
                    Estado = false;
                }

                this.Text += " : Editando";
            }
        }
Esempio n. 2
0
 private void limpiar(object sender, RoutedEventArgs e)
 {
     IdProveedor.Clear();
 }