예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ModeloCelular modelo = new ModeloCelular();

            modelo.Fabricante = txtFabricante.Text;
            modelo.Categoria  = txtCategoria.Text;
            modelo.Modelo     = txtModelo.Text;
            modelo.Versao     = txtVersao.Text;


            GenerateTag(modelo);
        }
예제 #2
0
        private string GenerateTag(ModeloCelular modelo)
        {
            string teste = modelo.Versao;

            string[] arr = teste.Split(' ');

            foreach (string t in arr)
            {
                teste = teste + t;
            }


            return("");
        }