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

C#

 
GeneralManaged DirectSound resources Pin
Oyvind Bratland1-Dec-03 8:56
Oyvind Bratland1-Dec-03 8:56 
GeneralRe: Managed DirectSound resources Pin
Heath Stewart1-Dec-03 11:00
protectorHeath Stewart1-Dec-03 11:00 
GeneralRe: Managed DirectSound resources Pin
Oyvind Bratland1-Dec-03 21:07
Oyvind Bratland1-Dec-03 21:07 
GeneralRe: Managed DirectSound resources Pin
Heath Stewart2-Dec-03 2:51
protectorHeath Stewart2-Dec-03 2:51 
GeneralRe: Managed DirectSound resources Pin
Oyvind Bratland2-Dec-03 20:46
Oyvind Bratland2-Dec-03 20:46 
Generalimplementing IList for a sortedlist Pin
zuhx1-Dec-03 6:11
zuhx1-Dec-03 6:11 
GeneralRe: implementing IList for a sortedlist Pin
Heath Stewart1-Dec-03 6:41
protectorHeath Stewart1-Dec-03 6:41 
GeneralRe: implementing IList for a sortedlist Pin
zuhx1-Dec-03 9:29
zuhx1-Dec-03 9:29 
So if I'm understanding you correctly. If I write a class and extend SortedList I get all the functionality of a SortedList and implement IList for databinding by doing the following:
public abstract class IndexSortedList: SortedList, IList //Does order matter here?
{
//This is the only IList method not implemented by SortedList
public void Insert()
{
DoSomething();
}

//Do I have to include this method as well and just simply
//tell it to call the Add method from the SortedList?
//This method is already implented in SortedList, but required by IList.
public override void Add()
{
//call SortedList's Add method
base.Add();
}
}
Can you confirm the questions in my comments? Thanks!
GeneralRe: implementing IList for a sortedlist Pin
Heath Stewart1-Dec-03 10:30
protectorHeath Stewart1-Dec-03 10:30 
GeneralRe: implementing IList for a sortedlist Pin
zuhx2-Dec-03 5:51
zuhx2-Dec-03 5:51 
GeneralSHGFI Flag Info Pin
Tristan Rhodes1-Dec-03 4:02
Tristan Rhodes1-Dec-03 4:02 
GeneralRe: SHGFI Flag Info Pin
Heath Stewart1-Dec-03 6:35
protectorHeath Stewart1-Dec-03 6:35 
GeneralRe: SHGFI Flag Info Pin
Tristan Rhodes1-Dec-03 20:44
Tristan Rhodes1-Dec-03 20:44 
GeneralRe: SHGFI Flag Info Pin
Heath Stewart2-Dec-03 2:33
protectorHeath Stewart2-Dec-03 2:33 
GeneralUrgent!!! Using pointers in C# Pin
rasarit171-Dec-03 3:32
rasarit171-Dec-03 3:32 
GeneralRe: Urgent!!! Using pointers in C# Pin
leppie1-Dec-03 6:09
leppie1-Dec-03 6:09 
GeneralRe: Urgent!!! Using pointers in C# Pin
Heath Stewart1-Dec-03 6:45
protectorHeath Stewart1-Dec-03 6:45 
Generalnew webform inside another Pin
krisman1-Dec-03 2:36
krisman1-Dec-03 2:36 
GeneralRe: new webform inside another Pin
Heath Stewart1-Dec-03 2:54
protectorHeath Stewart1-Dec-03 2:54 
GeneralRe: new webform inside another Pin
krisman1-Dec-03 3:47
krisman1-Dec-03 3:47 
GeneralAll C# fan want to know Pin
lajiyo1-Dec-03 2:05
lajiyo1-Dec-03 2:05 
GeneralRe: All C# fan want to know Pin
Heath Stewart1-Dec-03 2:49
protectorHeath Stewart1-Dec-03 2:49 
GeneralRe: All C# fan want to know Pin
lajiyo1-Dec-03 22:23
lajiyo1-Dec-03 22:23 
GeneralRe: All C# fan want to know Pin
Heath Stewart2-Dec-03 2:59
protectorHeath Stewart2-Dec-03 2:59 
GeneralRe: All C# fan want to know Pin
lajiyo3-Dec-03 2:29
lajiyo3-Dec-03 2:29 

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.