Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Forms Problem Closing From One To Another Pin
Veldor2-Nov-06 13:45
Veldor2-Nov-06 13:45 
GeneralRe: Windows Forms Problem Closing From One To Another Pin
sam#2-Nov-06 17:28
sam#2-Nov-06 17:28 
GeneralRe: Windows Forms Problem Closing From One To Another Pin
Veldor2-Nov-06 20:07
Veldor2-Nov-06 20:07 
QuestionParse a property dynamic Pin
Storme2-Nov-06 10:59
Storme2-Nov-06 10:59 
AnswerRe: Parse a property dynamic Pin
Judah Gabriel Himango2-Nov-06 11:15
sponsorJudah Gabriel Himango2-Nov-06 11:15 
GeneralRe: Parse a property dynamic Pin
Storme2-Nov-06 13:06
Storme2-Nov-06 13:06 
GeneralRe: Parse a property dynamic [modified] Pin
aamironline2-Nov-06 18:45
aamironline2-Nov-06 18:45 
QuestionList property for a custom control, doesn't work in design time Pin
warnov2-Nov-06 9:25
warnov2-Nov-06 9:25 
I've created this windows user control:

public class ToolStripMenuItemRol : ToolStripMenuItem

So it still supporting all the native properties of the ToolStripMenuItem. The enhacement applied in this user control was a new property:

private List<int> _roles = new List<int>();<br />
<br />
[Description("Listado de roles válidos para usar este menú")]<br />
[Category("Security")] <br />
public List<int> Roles<br />
{<br />
     get { return _roles; }<br />
     set {_roles = value; }<br />
 }


Then the property Roles appears in the Properties Page in Design mode. And when I'm trying to edit this property in design time, a collection editor appears and work fine. Everything's good up here. But when I close the collection editor, the value entered is cleared, so I reedit, and the collection appears empty. The value of the property Roles is losted; it is not been saved. What should I do in order to persist the data registered in the collection editor?


Open mind for a different view.

QuestionWeird ListViewItem ForeColor change Pin
kozu2-Nov-06 9:19
kozu2-Nov-06 9:19 
QuestionMemory usage... Pin
Shy Agam2-Nov-06 9:14
Shy Agam2-Nov-06 9:14 
AnswerRe: Memory usage... Pin
Guffa2-Nov-06 10:10
Guffa2-Nov-06 10:10 
GeneralRe: Memory usage... Pin
Judah Gabriel Himango2-Nov-06 11:07
sponsorJudah Gabriel Himango2-Nov-06 11:07 
GeneralRe: Memory usage... Pin
Paul Conrad2-Nov-06 16:23
professionalPaul Conrad2-Nov-06 16:23 
Questionmaking a jealous Windows Forms control Pin
jesarg2-Nov-06 8:05
jesarg2-Nov-06 8:05 
AnswerRe: making a jealous Windows Forms control Pin
PIEBALDconsult2-Nov-06 9:52
mvePIEBALDconsult2-Nov-06 9:52 
GeneralRe: making a jealous Windows Forms control Pin
jesarg2-Nov-06 10:04
jesarg2-Nov-06 10:04 
Questionhow to use Sql Server 2005 Reporting Services ? Pin
hdv2122-Nov-06 7:11
hdv2122-Nov-06 7:11 
QuestionDeployment Project - Registry Pin
BoneSoft2-Nov-06 7:00
BoneSoft2-Nov-06 7:00 
AnswerRe: Deployment Project - Registry Pin
BoneSoft2-Nov-06 10:01
BoneSoft2-Nov-06 10:01 
Questionhow to use callback for show progressing operation ? Pin
hdv2122-Nov-06 6:21
hdv2122-Nov-06 6:21 
AnswerRe: how to use callback for show progressing operation ? Pin
Guffa2-Nov-06 7:48
Guffa2-Nov-06 7:48 
QuestionCreate xml from a dll Pin
gmellado2-Nov-06 6:03
gmellado2-Nov-06 6:03 
AnswerRe: Create xml from a dll Pin
Judah Gabriel Himango2-Nov-06 6:07
sponsorJudah Gabriel Himango2-Nov-06 6:07 
GeneralRe: Create xml from a dll Pin
gmellado2-Nov-06 6:10
gmellado2-Nov-06 6:10 
AnswerRe: Create xml from a dll Pin
sam#2-Nov-06 6:10
sam#2-Nov-06 6:10 

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.