Click here to Skip to main content
15,915,636 members
Home / Discussions / C#
   

C#

 
GeneralRe: how do i enable directx? Pin
Heath Stewart23-Jan-04 6:34
protectorHeath Stewart23-Jan-04 6:34 
GeneralRe: how do i enable directx? Pin
AllanC123-Jan-04 17:34
AllanC123-Jan-04 17:34 
GeneralNeed help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 4:39
J. Eric Vaughan23-Jan-04 4:39 
GeneralRe: Need help from someone with C++ background Pin
Heath Stewart23-Jan-04 5:17
protectorHeath Stewart23-Jan-04 5:17 
GeneralRe: Need help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 6:33
J. Eric Vaughan23-Jan-04 6:33 
GeneralRe: Need help from someone with C++ background Pin
Heath Stewart23-Jan-04 6:36
protectorHeath Stewart23-Jan-04 6:36 
GeneralRe: Need help from someone with C++ background Pin
J. Eric Vaughan23-Jan-04 8:42
J. Eric Vaughan23-Jan-04 8:42 
Questionhow to load referenced assemblies Pin
occcy23-Jan-04 4:23
occcy23-Jan-04 4:23 
AnswerRe: how to load referenced assemblies Pin
Heath Stewart23-Jan-04 4:53
protectorHeath Stewart23-Jan-04 4:53 
GeneralGAC / Reference / VStudio Pin
dabossuk23-Jan-04 2:25
dabossuk23-Jan-04 2:25 
GeneralRe: GAC / Reference / VStudio Pin
Heath Stewart23-Jan-04 4:44
protectorHeath Stewart23-Jan-04 4:44 
GeneralMultiple InternetExplorer objects' DownloadComplete event Pin
profoundwhispers23-Jan-04 0:07
profoundwhispers23-Jan-04 0:07 
GeneralRe: Multiple InternetExplorer objects' DownloadComplete event Pin
Mazdak23-Jan-04 2:20
Mazdak23-Jan-04 2:20 
GeneralRe: Multiple InternetExplorer objects' DownloadComplete event Pin
profoundwhispers23-Jan-04 4:17
profoundwhispers23-Jan-04 4:17 
GeneralRe: Multiple InternetExplorer objects' DownloadComplete event Pin
Mazdak23-Jan-04 4:34
Mazdak23-Jan-04 4:34 
GeneralRe: Multiple InternetExplorer objects' DownloadComplete event Pin
Heath Stewart23-Jan-04 4:42
protectorHeath Stewart23-Jan-04 4:42 
GeneralRe: Multiple InternetExplorer objects' DownloadComplete event Pin
profoundwhispers23-Jan-04 4:53
profoundwhispers23-Jan-04 4:53 
GeneralRe: Multiple InternetExplorer objects' DownloadComplete event Pin
Heath Stewart23-Jan-04 4:58
protectorHeath Stewart23-Jan-04 4:58 
GeneralHelp with Collections Pin
crushinghellhammer22-Jan-04 18:19
crushinghellhammer22-Jan-04 18:19 
GeneralRe: Help with Collections Pin
Heath Stewart22-Jan-04 18:49
protectorHeath Stewart22-Jan-04 18:49 
Actually, using any kind of IEnumerable or IListSource would be great. You can data-bind the collection to the up/down control and use the CurrencyManager.Position property to adjust the position. For more information about data-binding properties and data sources, see Control.BindingContext and CurrencyManager. This would save you from the mess of handling all this yourself. When used correctly, other controls bound to the data source are updated when the position of the current element in the data source is changed.

At any rate, what are the "syntactical" problems? For ease, extend CollectionBase and override the methods (or implement new methods with strongly-typed params that call the CollectionBase's methods) and most of the rest of the work is already done (which uses an ArrayList to back the elements).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Help with Collections Pin
crushinghellhammer22-Jan-04 19:32
crushinghellhammer22-Jan-04 19:32 
GeneralRe: Help with Collections Pin
Heath Stewart22-Jan-04 19:35
protectorHeath Stewart22-Jan-04 19:35 
GeneralRe: Help with Collections Pin
crushinghellhammer22-Jan-04 20:25
crushinghellhammer22-Jan-04 20:25 
GeneralRe: Help with Collections Pin
crushinghellhammer23-Jan-04 7:36
crushinghellhammer23-Jan-04 7:36 
GeneralRe: Help with Collections Pin
Heath Stewart23-Jan-04 8:21
protectorHeath Stewart23-Jan-04 8:21 

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.