i have a windows form application, and i want that when i execute the program, program must show me the main form quickly, but my program firstly do some operations (connecting to sql, filling the combobox etc. )
because in form_load function i call a function to fill the combo with sql database's datas.
But user does not want to wait, user wants to see the form very quickly.
In other words, user wants my program to connect sql and to fill the combo AFTER form has been shown to the user.
ali_zdn
0
Newbie Poster
Recommended Answers
Jump to PostIf you are dealing with a windows forms application simply move the data retrieval and population procedures to appear after the form initialization and that should get your result.
My question is, what use is an empty form showing up quickly vs a filled form showing up 2-3 seconds …
Jump to Post1) Please post your code to show an example of how you are currently performing the task so people can work with that sample of code to try to help you
2) In order for what I said to work you need some sort of 'trigger' for the DB …
All 6 Replies
Lusiphur
185
Practically a Posting Shark
Team Colleague
Featured Poster
ali_zdn
0
Newbie Poster
Lusiphur
185
Practically a Posting Shark
Team Colleague
Featured Poster
ali_zdn
0
Newbie Poster
k.d.m
1
Light Poster
arunkumars
14
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.