Click here to Skip to main content
15,920,617 members
Home / Discussions / C#
   

C#

 
GeneralDelayed request while waiting for data over an internet connection Pin
MAW3024-Apr-08 15:15
MAW3024-Apr-08 15:15 
QuestionSetup and deployment Pin
jharker198724-Apr-08 13:03
jharker198724-Apr-08 13:03 
GeneralRe: Setup and deployment Pin
Christian Graus24-Apr-08 13:06
protectorChristian Graus24-Apr-08 13:06 
GeneralRe: Setup and deployment Pin
jharker198724-Apr-08 13:07
jharker198724-Apr-08 13:07 
GeneralRe: Setup and deployment Pin
Spacix One24-Apr-08 13:23
Spacix One24-Apr-08 13:23 
GeneralRe: Setup and deployment Pin
jharker198725-Apr-08 2:26
jharker198725-Apr-08 2:26 
GeneralRe: Setup and deployment Pin
mav.northwind25-Apr-08 22:20
mav.northwind25-Apr-08 22:20 
GeneralListview interaction scheme question Pin
Spacix One24-Apr-08 12:55
Spacix One24-Apr-08 12:55 
Being a person who's never needed a listview until now (crappy open file dialog in windows mobile!!!!)

What is the best option of interacting with a listview that uses .CheckBoxes=true; list view showing files (this is in Windows Mobile 6)

This listbox is one that shows a list of offline created files and allows the user to select the ones they wish to upload to their web database.
1) Add an event for when as each item is checked, add it to a dictionary collection so you have an updated view at all times.
2) Let the user check away all the items to their hearts desire, then loop though the itemcollection searching/processing each one that has the property checked=true
3) Use delegates to point to diffrent functions in the procrssing script based if the list is long or short. If the number of files in the DirectoryInfo.GetFiles() is long add the "check" event handler else pint it to a loop though function.
4) Some other strategy

To me option one is attractive if there will be LOTs of options to select or if I needed to dynamically edit look at the contencts they have selected. (which I don't)

I think option two would make the UI interaction faster, but the processing longer as it looks though EVERY option in the list. Which would make it better if the list was always small.

The third option sure is "enterpriseish" Wink | ;) but most likly be a waste of time to code :/

As to how many offline files the user will have? Beats me I wouldn't think "too" many... The thing is you never know with end users... They might save a years worth of data to upload "at once" for all I know/expect heh... (thus there is a max MB upload)


-Spacix
All your skynet questions[^] belong to solved

QuestionNeed help with multi threaded modular application Pin
darthBug24-Apr-08 9:51
darthBug24-Apr-08 9:51 
GeneralRe: Need help with multi threaded modular application Pin
Luc Pattyn24-Apr-08 11:06
sitebuilderLuc Pattyn24-Apr-08 11:06 
GeneralRe: Need help with multi threaded modular application Pin
carbon_golem24-Apr-08 13:32
carbon_golem24-Apr-08 13:32 
GeneralRe: Need help with multi threaded modular application Pin
darthBug25-Apr-08 1:07
darthBug25-Apr-08 1:07 
GeneralRe: Need help with multi threaded modular application Pin
carbon_golem25-Apr-08 3:30
carbon_golem25-Apr-08 3:30 
QuestionEnumeration Location Pin
snorkie24-Apr-08 9:42
professionalsnorkie24-Apr-08 9:42 
GeneralRe: Enumeration Location Pin
Broken Bokken24-Apr-08 9:47
Broken Bokken24-Apr-08 9:47 
GeneralRe: Enumeration Location Pin
darthBug24-Apr-08 10:01
darthBug24-Apr-08 10:01 
GeneralRe: Enumeration Location Pin
snorkie24-Apr-08 10:08
professionalsnorkie24-Apr-08 10:08 
GeneralRe: Enumeration Location Pin
carbon_golem24-Apr-08 10:53
carbon_golem24-Apr-08 10:53 
GeneralAdvice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:06
MumbleB24-Apr-08 7:06 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
KaptinKrunch24-Apr-08 7:16
KaptinKrunch24-Apr-08 7:16 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:26
MumbleB24-Apr-08 7:26 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
carbon_golem24-Apr-08 7:17
carbon_golem24-Apr-08 7:17 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
KaptinKrunch24-Apr-08 7:34
KaptinKrunch24-Apr-08 7:34 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:40
MumbleB24-Apr-08 7:40 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
Ed.Poore24-Apr-08 8:45
Ed.Poore24-Apr-08 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.