Ejemplo n.º 1
0
        private TesteView ParseModelParaViewModel(TBTeste tbTeste)
        {
            TesteView testeView = new TesteView()
            {
                DescricaoTeste = tbTeste.DescricaoTeste,
                CodigoTeste    = tbTeste.CodigoTeste
            };

            return(testeView);
        }
Ejemplo n.º 2
0
        private void btnVoluntario_Click(object sender, EventArgs e)
        {
            /*
             * VoluntarioView voluntarioView = new VoluntarioView();
             * voluntarioView.TopLevel = false;
             * pnHome.Controls.Add(voluntarioView);
             * voluntarioView.FormBorderStyle = FormBorderStyle.None;
             * voluntarioView.Show();
             */

            TesteView testeView = new TesteView();

            testeView.TopLevel = false;
            pnHome.Controls.Add(testeView);
            testeView.FormBorderStyle = FormBorderStyle.None;
            testeView.Show();
        }