Example #1
0
        public FrmEmpresa()
        {
            InitializeComponent();
            model      get = new model();
            DtoEmpresa e   = get.getEndEmpresa();

            if (e != null)
            {
                textBoxID.Text        = e.id.ToString();
                textBoxNome.Text      = e.nome.ToString();
                textBoxLatitude.Text  = e.latitude.ToString();
                textBoxLongitude.Text = e.longitude.ToString();
                textBoxEndereco.Text  = e.endereco.ToString();
            }
        }