We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# Visual Programming (CS411) Assignment # 4 (GRADED) Solution & Discussion Due Date Feb 18, 2016

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 6031

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Attachments:

### Replies to This Discussion

Start discussion

help share the code

Complete Solution With Code

Attachments:

Solution kaha mayo :P

One Loop run Successfully :P

Share some code

yaar kese ho gi ye :/ koi mje source code de do na :/ itna kam to kr dia kro yaar :/

1. you have to import using System.Threading;

2. make a function that will contain a loop and also contain a Thread.Sleep(int milisecond) method.

like this.

{

//for loop to that will run for 10,000 times

for(int i=0;i<=10000;i++)

{

//in this loop you can print i values to your textbox that you have created for output

output1.Text+=("T1:Execution count> " + i);

//and here is the sleep method

Thread.Sleep(100); this will sleep for 100 mili second

//in this sleep method you have to pass that value that is in the Listbox(contains 50,100,200,300,600).

}

}

then pass that method name in mythread lik this

then use this command

to select value form the list box you can use statements like that

ListBoxItem mySelectedItem = ListBoxName.SelectedItem as ListBoxItem;

string value = mySelectedItem.Content.ToString();

## Latest Activity

ہاشم and Malik Hamza joined + M.Tariq Malik's group

### CS302 Digital Logic Design

3 minutes ago
j. liked zohaib iftikhar's blog post ...*!!! AKHIR KAB TAK????? ...*!!!
27 minutes ago
30 minutes ago
33 minutes ago
34 minutes ago
Haniya liked Awais BSIT's discussion نماز عشق
37 minutes ago
38 minutes ago
Haniya liked Awais BSIT's discussion جن کی چاہت کی آرزو کی تھی
40 minutes ago
Haniya liked Awais BSIT's discussion کل ہلکی ہلکی بارش تھی
43 minutes ago
Destruido liked + IUUOƆƎUT +'s discussion Coronavirus in china
48 minutes ago
1 hour ago
babar ali liked ￭ T̲h̲e̲ ̲J̲o̲k̲e̲r̲ ￭'s profile
1 hour ago

1

2

3