PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms DataGridView in inherited Form

Reply

DataGridView in inherited Form

 
Thread Tools Rate Thread
Old 08-01-2007, 03:12 PM   #1
Andy
Guest
 
Posts: n/a
Default DataGridView in inherited Form


I have a class hiearchy like this:

public class Form1: Form
{
protected DataGridView dataGridView;
}

public class Form2: Form1
{

}

In design mode I cannot change properties of dataGridView for class Form2.
Items in Properties window are "grayed" and dataGirdView component is
locked. What' wrong?




  Reply With Quote
Old 08-01-2007, 03:49 PM   #2
Roman Wagner
Guest
 
Posts: n/a
Default Re: DataGridView in inherited Form

The designer can't access protected properties.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off