Click here to Skip to main content
15,892,575 members
Home / Discussions / C#
   

C#

 
GeneralRe: sending string data to parallel port? Pin
Rohit Dev29-Mar-07 20:21
Rohit Dev29-Mar-07 20:21 
QuestionQuestion regarding ListView control? Pin
Khoramdin28-Mar-07 20:28
Khoramdin28-Mar-07 20:28 
AnswerRe: Question regarding ListView control? Pin
Saikek29-Mar-07 4:07
Saikek29-Mar-07 4:07 
Questionerror in loading application Pin
ArchaBhandare28-Mar-07 19:55
ArchaBhandare28-Mar-07 19:55 
QuestionTCP Checksum Generator Pin
Kr0d28-Mar-07 19:53
Kr0d28-Mar-07 19:53 
QuestionI have an issue on ZedGraph Control Pin
pashitech28-Mar-07 19:03
pashitech28-Mar-07 19:03 
AnswerRe: I have an issue on ZedGraph Control Pin
Pete O'Hanlon28-Mar-07 22:14
mvePete O'Hanlon28-Mar-07 22:14 
QuestionForm Control or Component, Delete, Property Notification [modified] Pin
Cnight Stalker28-Mar-07 19:00
Cnight Stalker28-Mar-07 19:00 
I want a DataGridView property in my UserControl:

C#<br />
<br />
public DataGridView _DataGridView<br />
<br />
[Category("Data"), DefaultValue(null)] <br />
public DataGridView DataGridView<br />
{<br />
	get { return _DataGridView; }<br />
	set { _DataGridView = value; }<br />
}<br />

I put the user control on a form, and this property shows (none) by default. I assign a dataGridView1 to the property.

But, when I delete dataGridView1, the property does not revert to (none). I can even still press the [+] and traverse as if the property was still referring to something.

I've looked everywhere (documentation, msdn, and searched the web) for any example demonstrating how to define a property to exhibiting the correct behavior.

The correct behaviour is exhibited by the ContextMenuStrip property of a Control, where it reverts to (none) when a contextMenuStrip1 is assigned to it and then deleted.

I'm new hear, so please forgive me if this query's been resolved, and point me in the right direction.

Thank you for your attention,

S


-- modified at 14:54 Thursday 29th March, 2007
QuestionperformClick() Pin
quick228-Mar-07 18:36
quick228-Mar-07 18:36 
AnswerRe: performClick() Pin
giddy_guitarist31-Mar-07 5:38
giddy_guitarist31-Mar-07 5:38 
QuestionXML File processing Pin
satsumatable28-Mar-07 17:27
satsumatable28-Mar-07 17:27 
QuestionHow to add Restart Dialog to Installer Pin
remex_1980_junyongwu28-Mar-07 17:13
remex_1980_junyongwu28-Mar-07 17:13 
QuestionSnippets Pin
Mike Hankey28-Mar-07 17:07
mveMike Hankey28-Mar-07 17:07 
QuestionHow to reconnect to the server when the ethernet cable unplugged and replugged using Socket Pin
engsrini28-Mar-07 16:34
engsrini28-Mar-07 16:34 
Questionhow to use the a interface declared in a dll Pin
goldli28-Mar-07 16:21
goldli28-Mar-07 16:21 
AnswerRe: how to use the a interface declared in a dll Pin
wulixu28-Mar-07 17:31
wulixu28-Mar-07 17:31 
GeneralRe: how to use the a interface declared in a dll [modified] Pin
goldli28-Mar-07 19:15
goldli28-Mar-07 19:15 
Question"Attempted to read or write protected memory." Pin
User 137680028-Mar-07 14:58
User 137680028-Mar-07 14:58 
AnswerRe: "Attempted to read or write protected memory." Pin
Dewald30-Mar-07 23:25
Dewald30-Mar-07 23:25 
QuestionWindows Forms book suggestions? Pin
Mark J. Miller28-Mar-07 12:11
Mark J. Miller28-Mar-07 12:11 
AnswerRe: Windows Forms book suggestions? Pin
J$28-Mar-07 12:54
J$28-Mar-07 12:54 
GeneralRe: Windows Forms book suggestions? Pin
Mark J. Miller28-Mar-07 13:30
Mark J. Miller28-Mar-07 13:30 
AnswerRe: Windows Forms book suggestions? Pin
Mike Hankey28-Mar-07 13:32
mveMike Hankey28-Mar-07 13:32 
AnswerRe: Windows Forms book suggestions? Pin
Scott Dorman28-Mar-07 13:36
professionalScott Dorman28-Mar-07 13:36 
AnswerRe: Windows Forms book suggestions? Pin
Rudolf Jan29-Mar-07 0:41
Rudolf Jan29-Mar-07 0:41 

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.