antonio sanchez

antonio sanchez

  • NA
  • 24
  • 3.8k

delete label quantity

Sep 21 2016 5:05 PM
I'm develop a system for count in C#. I have a button the count for clic.

I want that to arriving the number of my SNP, the messenger appears. but now I can. the number begins in the consecutive,I stayed when sending the message and does not start at zero

my code is the next.
 
  1. decimal SSNP1 = 0;  
  2.             decimal.TryParse(SNP1.Text, out SSNP1);  
  3.             decimal SOK1 = 0;  
  4.             decimal.TryParse(OK1.Text, out SOK1);  
  5.   
  6.            if (SSNP1 == SOK1)  
  7.              {  
  8.                     MessageBox.Show("imprime etiquetas");  
  9.                     SOK1 = 0;  
  10.                     OK1.Text = "";  
  11.             }  
  12.              else  
  13.                {  
  14.                 A++;  
  15.                 OK1.Text = Convert.ToString(A);  
  16.                }  
  17.           }  
 

Answers (1)