Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Gen(ref System.Windows.Forms.Label L, System.String S)
- {
- System.Char[] Alp = @"!#$%&'()-.@[]^_`{}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".ToCharArray();
- for (System.Int32 i = 0; i < S.Length;i++)
- {
- for (System.Int32 ii = 0; ii < Alp.Length; ii++)
- {
- L.Text = S.Remove(i);
- //System.Threading.Thread.Sleep(trackBar1.Value);
- System.Threading.Thread.Sleep(50);
- if (S[i] == Alp[ii])
- {
- L.Text += S[i];
- break;
- }
- else
- {
- L.Text += Alp[ii].ToString();
- }
- Application.DoEvents();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment