Exemplo n.º 1
0
        private void btnBreakFile_Click(object sender, EventArgs e)
        {
            Arquivo a     = new Arquivo();
            var     texto = a.GetFileAndJoinTags(txt_Path.Text);

            texto = a.askToHex(texto);
            a.Break_TLV_File(texto, txt_FinalCardTag.Text, txtBeginBodyTag.Text, txtAplicationLength1.Text, txtAplicationLength2.Text, txt_Save_Path.Text, txtPathTags.Text);
            MessageBox.Show("Show, acabou!!");
        }
Exemplo n.º 2
0
 private void btnBreak_Click(object sender, EventArgs e)
 {
     if (txt_Content.Text != "" || txt_Content.Text != null)
     {
         Arquivo a = new Arquivo();
         a.Break_TLV_File(txt_Content.Text, txt_FinalCardTag.Text, txtBeginBodyTag.Text, txtAplicationLength1.Text, txtAplicationLength2.Text, txt_Save_Path.Text, txtPathTags.Text);
         MessageBox.Show("Show, acabou!!");
     }
     else
     {
         MessageBox.Show("Erro!!");
     }
 }