Click here to Skip to main content
15,922,419 members
Home / Discussions / C#
   

C#

 
QuestionJustify text Pin
Duong Tien Nam13-Mar-07 17:51
Duong Tien Nam13-Mar-07 17:51 
AnswerRe: Justify text Pin
Duong Tien Nam13-Mar-07 20:20
Duong Tien Nam13-Mar-07 20:20 
QuestionInformation Lists Pin
JMOdom13-Mar-07 16:04
JMOdom13-Mar-07 16:04 
QuestionURGENT! Pin
jotorres13-Mar-07 15:25
jotorres13-Mar-07 15:25 
QuestionSimple CSV Reader part 2 Pin
thenamenoonehastaken13-Mar-07 13:52
thenamenoonehastaken13-Mar-07 13:52 
QuestionHow do I capturing the ouput of the external appl Pin
Eyungwah13-Mar-07 13:22
Eyungwah13-Mar-07 13:22 
AnswerRe: How do I capturing the ouput of the external appl Pin
Stefan Troschuetz13-Mar-07 23:10
Stefan Troschuetz13-Mar-07 23:10 
QuestionCustom object as datasource to datagrid Pin
chequis13-Mar-07 13:19
chequis13-Mar-07 13:19 
Do anybody knows how to display a parent-child relation in a winforms datagrid from a collectionbase-based custom object datasource.

the custom object looks like this:


public class ColeccionOT : System.Collections.CollectionBase
{
public ColeccionOT(){
}

public void Add(OT ot){
List.Add(ot);
}

public void Remove(OT ot){
List.Remove(ot);
}

public OT this[int index]{
get{return (OT)List[index];}
}

public object[] Items{
get{return InnerList.ToArray();}
}
}


--------
public class OT
{
private long _id;
private Proyecto _proyecto;
private System.DateTime _fechainicio;
private System.DateTime _fechafin;
private AdministradorOTBase _adminOT;
private ColeccionActividades _clcnActiv;

public OT() {
_clcnActiv = new ColeccionActividades();
}

public OT(AdministradorOTBase usuario, Proyecto proy) {
_clcnActiv = new ColeccionActividades();
adminOT = usuario;
proyecto = proy;
}

public ColeccionActividades Actividades {
get{return _clcnActiv;}
set{_clcnActiv = value;}
}

public long id{
get{return _id;}
set{_id = value;}
}

public Proyecto proyecto{
get{return _proyecto;}
set{_proyecto = value;}
}
}

parent object: ColeccionOT
child object: <<property>>OT.Actividades (another CollectioBase-Base object)

Thanks in advance.
PD. Sorry my bad english (I'm from germany)
Questionhow i can make color to active line in richtextBox ? Pin
Ahmed R El Bohoty13-Mar-07 13:11
Ahmed R El Bohoty13-Mar-07 13:11 
AnswerRe: how i can make color to active line in richtextBox ? Pin
TeddyLiu13-Mar-07 15:16
TeddyLiu13-Mar-07 15:16 
GeneralRe: how i can make color to active line in richtextBox ? Pin
hiremath7113-Mar-07 18:37
hiremath7113-Mar-07 18:37 
GeneralRe: how i can make color to active line in richtextBox ? Pin
Ahmed R El Bohoty14-Mar-07 10:16
Ahmed R El Bohoty14-Mar-07 10:16 
QuestionLooking for a good way to get values from a byte array. Pin
dino209413-Mar-07 11:45
dino209413-Mar-07 11:45 
AnswerRe: Looking for a good way to get values from a byte array. Pin
CPallini13-Mar-07 12:22
mveCPallini13-Mar-07 12:22 
AnswerRe: how can I convert UPPER case to lower case? Pin
Edmundisme13-Mar-07 11:23
Edmundisme13-Mar-07 11:23 
GeneralRe: how can I convert UPPER case to lower case? Pin
Khoramdin13-Mar-07 11:24
Khoramdin13-Mar-07 11:24 
GeneralRe: how can I convert UPPER case to lower case? Pin
Guffa13-Mar-07 20:04
Guffa13-Mar-07 20:04 
JokeModified.Re: how can I convert UPPER case to lower case? Pin
CPallini13-Mar-07 12:24
mveCPallini13-Mar-07 12:24 
GeneralRe: how can I convert UPPER case to lower case? Pin
Edmundisme13-Mar-07 12:28
Edmundisme13-Mar-07 12:28 
QuestionImage recognition Pin
sharpiesharpie13-Mar-07 10:41
sharpiesharpie13-Mar-07 10:41 
JokeRe: Image recognition Pin
CPallini13-Mar-07 12:31
mveCPallini13-Mar-07 12:31 
AnswerRe: Image recognition Pin
mav.northwind13-Mar-07 20:24
mav.northwind13-Mar-07 20:24 
Questionprocesses Pin
quarinteen13-Mar-07 8:35
quarinteen13-Mar-07 8:35 
AnswerRe: processes Pin
Ennis Ray Lynch, Jr.13-Mar-07 9:47
Ennis Ray Lynch, Jr.13-Mar-07 9:47 
GeneralRe: processes Pin
quarinteen13-Mar-07 9:58
quarinteen13-Mar-07 9: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.