bt.ionut Posted August 4, 2012 Report Share Posted August 4, 2012 Salut,vreau sa fac un generator de text(keys) insa vreau sa aiba si un progess bar, cand apesi pe generate, sa se incarce progress barul, cu un text pe el "connect to...." apoi cand e la sfarsit sa apara key-ul.thanks. Quote Link to comment Share on other sites More sharing options...
LegioNRST Posted August 4, 2012 Report Share Posted August 4, 2012 (edited) Scrii pe button1:Label1.text = "Connect to..."Timer1.start()Adaugi un Timer, dai dublu click ?i scrii:ProgressBar1.Increment(1)If ProgressBar1.Value = ProgressBar1.Maximum ThenTimer1.stop()Label1.text = "Generated!"Progressbar1.value = 0 Edited August 4, 2012 by LegioNRST Quote Link to comment Share on other sites More sharing options...
M2G Posted August 4, 2012 Report Share Posted August 4, 2012 Foloseste multithreading daca tot vrei sa faci ceva calumea.Si un generator de text ar trebui sa iti dea rezultatul instant. Bineinteles, depinde de procesul de generare dar in principiu nu ai nevoie de un progress bar pentru asa ceva. Quote Link to comment Share on other sites More sharing options...
bt.ionut Posted August 4, 2012 Author Report Share Posted August 4, 2012 eu vreau ceva sa dureze, stiu metode de a face simplu, insa nu asta vreau ! Quote Link to comment Share on other sites More sharing options...