We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

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


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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 6114

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 :/ 

thread>>>

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.

public void myThread()

{

//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). 

}

}

after this you have to make a variable type Thread mythread 

then pass that method name in mythread lik this 

mythread(myThread);

then use this command

mythread.Start();

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

ListBoxItem mySelectedItem = ListBoxName.SelectedItem as ListBoxItem;

string value = mySelectedItem.Content.ToString();

RSS

Latest Activity

+ cs619 replied to +M.Tariq Malik's discussion CS609 Assignment 01 Fall 2020 Solution / Discussion Due Date: 26-11-2020 in the group CS609 System Programming
1 hour ago
+ cs619 replied to +M.Tariq Malik's discussion CS609 Assignment 01 Fall 2020 Solution / Discussion Due Date: 26-11-2020 in the group CS609 System Programming
1 hour ago
+ cs619 joined +M.Tariq Malik's group
1 hour ago
+ cs619 replied to +M.Tariq Malik's discussion CS614 Assignment No 01 Fall 2020 Solution & Discussion Due Date:26-11-2020 in the group CS614 Data Warehousing
1 hour ago
+ cs619 joined +M.Tariq Malik's group
1 hour ago
+ ! + Ops updated their profile
5 hours ago
Black Wolf updated their profile
5 hours ago
Muhammad Bilal replied to +M.Tariq Malik's discussion FIN624 GDB No 01 Fall 2020 Solution / Discussion in the group FIN624 Islamic Mode of Financing
5 hours ago
Muhammad Bilal replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
5 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 Introduction to Sociology Online Quiz No 01 Fall 2020 Solution / Discussion Last Date: 01-12-2020 in the group SOC101 Introduction to Sociology
5 hours ago
Muhammad Usman liked +M.Tariq Malik's group EDU430 ICT in Education
5 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS402 Assignment 01 Fall 2020 Solution / Discussion in the group CS402 Theory of Automata
5 hours ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.