PC Review


Reply
Thread Tools Rate Thread

DataGridView in inherited Form

 
 
Andy
Guest
Posts: n/a
 
      8th Jan 2007
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
 
 
 
 
Roman Wagner
Guest
Posts: n/a
 
      8th Jan 2007
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inherited DataGridView user control with Binding Navigator Paul Microsoft VB .NET 0 17th Jun 2009 06:37 PM
How to modify inherited dataGridView component Donald Adams Microsoft Dot NET Framework Forms 2 11th Jun 2007 06:23 AM
Problem with class inherited from DataGridView (VS-2005) uncle.serge@gmail.com Microsoft Dot NET Framework Forms 1 18th Apr 2007 03:38 AM
Inherited Form/controls: controls copied, not inherited Frnak McKenney Microsoft C# .NET 0 26th Jun 2005 10:13 PM
Modifying inherited menu in inherited form BillyM Microsoft C# .NET 1 24th Nov 2003 04:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:47 AM.