Click here to Skip to main content
15,917,062 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionShare MSDN in LAN Pin
Sachin Pimpale18-Mar-08 0:44
Sachin Pimpale18-Mar-08 0:44 
Generaldatagrid or dataset to excel file Pin
caradri17-Mar-08 3:39
caradri17-Mar-08 3:39 
GeneralRe: datagrid or dataset to excel file Pin
Giorgi Dalakishvili17-Mar-08 7:40
mentorGiorgi Dalakishvili17-Mar-08 7:40 
QuestionWhat thing is done from IStream::Read to IWMReaderCallbackAdvanced::OnStreamSample? Pin
markliu-codeproject16-Mar-08 22:09
markliu-codeproject16-Mar-08 22:09 
GeneralMDI Child Form Pin
divyesh143216-Mar-08 21:33
divyesh143216-Mar-08 21:33 
GeneralRe: MDI Child Form Pin
parth.p17-Mar-08 0:13
parth.p17-Mar-08 0:13 
GeneralRe: MDI Child Form Pin
divyesh143217-Mar-08 0:16
divyesh143217-Mar-08 0:16 
GeneralSortedList Pin
Anneke16-Mar-08 11:35
Anneke16-Mar-08 11:35 
Hi All

I have a list Proces with PNaam,PNr,PAankomst and PStatus. This is show'n in listbox1. ListBox2 is a list of Burst with lengte and soort. This is of each Proces. Processes can have more Bursts but one Burst can only have one Proces.
I have next two listboxes beside each other. In listbox3 I wanted to show PNaam sorted by PAankomst. In Listbox4 I wanted to show PNr, PAankomst, lengte and soort of that one Proces. (The user has to select one PNaam in listbox3 when I read the properties of that PNaam)

I've got a class ProcesKlasse with members PNaam,PNr,PAankomst and PStatus. I've got a BurstKlasse with lengte and two inherented subclasses IOBurst and CPUBurst with each a member soort.

I don't really know where to put the code. Also I've tried to search on internet but all the sugestions doesn't match...

In Form.cs I've tried
[code]
Proces.Sort(delegate(Proces p1, Proces p2) {return p1.PAankomst.CompareTo(p2.PAankomst);});
[/code]
but it can't find the PAankomst (it was private in ProcesKlasse, but even when it's public, I can't reach it)

Also I've tried this in ProcesKlasse
[code]
public List<string> SortedList(List<procesklasse>)
{
for (Proces.PAankomst // can't go further :s
}
[/code]

Is there someone who can give me a hint?

Thank you!
Anneke
GeneralRe: SortedList Pin
Luc Pattyn16-Mar-08 14:34
sitebuilderLuc Pattyn16-Mar-08 14:34 
GeneralRe: SortedList Pin
Anneke18-Mar-08 9:13
Anneke18-Mar-08 9:13 
GeneralRe: SortedList Pin
Luc Pattyn18-Mar-08 13:00
sitebuilderLuc Pattyn18-Mar-08 13:00 
Generalunbound datagrid Pin
mr.me15-Mar-08 7:31
mr.me15-Mar-08 7:31 
GeneralRe: unbound datagrid Pin
Rocky#16-Mar-08 22:14
Rocky#16-Mar-08 22:14 
GeneralRe: unbound datagrid Pin
mr.me17-Mar-08 19:28
mr.me17-Mar-08 19:28 
GeneralRe: unbound datagrid Pin
Rocky#17-Mar-08 21:21
Rocky#17-Mar-08 21:21 
GeneralRe: unbound datagrid Pin
mr.me18-Mar-08 9:37
mr.me18-Mar-08 9:37 
GeneralRe: unbound datagrid Pin
Rocky#18-Mar-08 20:12
Rocky#18-Mar-08 20:12 
GeneralRe: unbound datagrid Pin
mr.me19-Mar-08 6:48
mr.me19-Mar-08 6:48 
Generalcrystal report Pin
Naresh12345678915-Mar-08 3:21
Naresh12345678915-Mar-08 3:21 
GeneralRe: crystal report Pin
Herman<T>.Instance1-Apr-08 23:43
Herman<T>.Instance1-Apr-08 23:43 
GeneralDatagridview Refresh Control Problem Pin
soniasan14-Mar-08 22:37
soniasan14-Mar-08 22:37 
GeneralRe: Datagridview Refresh Control Problem Pin
Herman<T>.Instance1-Apr-08 23:47
Herman<T>.Instance1-Apr-08 23:47 
GeneralProblem with DataGridViewComboBoxColumn - try to disable/hide already selected values [modified] Pin
Skeletor2314-Mar-08 11:43
Skeletor2314-Mar-08 11:43 
GeneralStrange Error on Data Bound ComboBox Pin
Brady Kelly13-Mar-08 7:43
Brady Kelly13-Mar-08 7:43 
GeneralRe: Strange Error on Data Bound ComboBox Pin
led mike14-Mar-08 4:58
led mike14-Mar-08 4:58 

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.