Click here to Skip to main content
15,921,905 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Prevent user from leaving a row in datagridview Pin
Mycroft Holmes29-Jun-08 23:24
professionalMycroft Holmes29-Jun-08 23:24 
QuestionConvert form from c# to VB.net Pin
John Smith 00727-Jun-08 3:24
John Smith 00727-Jun-08 3:24 
AnswerRe: Convert form from c# to VB.net Pin
Thomas Stockwell27-Jun-08 7:49
professionalThomas Stockwell27-Jun-08 7:49 
AnswerRe: Convert form from c# to VB.net Pin
Paul Conrad28-Jun-08 7:51
professionalPaul Conrad28-Jun-08 7:51 
QuestionWebBrowser control in Windows Application using C#.. Pin
Sasmi_Office27-Jun-08 3:12
Sasmi_Office27-Jun-08 3:12 
Questionwindows setup project Pin
pavankumar makena26-Jun-08 18:56
pavankumar makena26-Jun-08 18:56 
AnswerRe: windows setup project Pin
subai27-Jun-08 19:17
subai27-Jun-08 19:17 
QuestionInvoking Different VS property Dialog boxes (ex. CellStyle Builder, Collection Editors) [modified] Pin
Thoughthopper26-Jun-08 6:16
Thoughthopper26-Jun-08 6:16 
Greetings,

Does anyone knows how to invoke (programatically) the different dialog boxes that VS has, for example the CellStyle Builder Box or the Add Columns dbox, Edit Columns dbox for the DataGridView, The Items Collection Editor for the Menus?

I know I can use EditorAttribute for properties, but the problem comes when dealing with the DataGridView and its columns, i'm using a PropertyGrid to modify the DGridV at run time but the columns do not appear.

I have this code:

public partial class UserControl1 : DataGridView
{
.....   //Use new to hide the inherited Columns property
        public new DataGridViewColumnCollection Columns
        {
            get
            {
                return base.Columns;
            }
        }

        public DataGridViewColumnCollection MyColumns
        {
            get
            {
                return base.Columns;
            }
        }
......

}


The funny/strange thing is that Columns doesn't show the Editor but MyColumns does show it.

I have done a search for DataGridViewColumnCollectionEditor but i just can't find it. Are these dialog boxes available somehow for developers?

Any hint or orientation is well appreciated.

Thanks

modified on Friday, June 27, 2008 10:06 AM

AnswerRe: Invoking Different VS property Dialog boxes (ex. CellStyle Builder, Collection Editors) Pin
Thoughthopper27-Jun-08 4:13
Thoughthopper27-Jun-08 4:13 
QuestiontextBox/listBox backgrounds now transparent, pls help Pin
Terminalman8426-Jun-08 5:03
Terminalman8426-Jun-08 5:03 
AnswerRe: textBox/listBox backgrounds now transparent, pls help Pin
Kschuler26-Jun-08 8:55
Kschuler26-Jun-08 8:55 
Questionwhat do you use for simple grid data entry ? Pin
BillWoodruff26-Jun-08 3:18
professionalBillWoodruff26-Jun-08 3:18 
QuestionDataGridViewCell Pin
Ali el25-Jun-08 20:20
Ali el25-Jun-08 20:20 
Questioniexplore.exe.config is not working Pin
Member 450727925-Jun-08 13:34
professionalMember 450727925-Jun-08 13:34 
AnswerRe: iexplore.exe.config is not working Pin
Christian Graus25-Jun-08 14:29
protectorChristian Graus25-Jun-08 14:29 
AnswerRe: iexplore.exe.config is not working Pin
Abhijit Jana25-Jun-08 19:27
professionalAbhijit Jana25-Jun-08 19:27 
QuestionDirectshow methods in VC++ Windows forms application Pin
bhanu_850925-Jun-08 4:04
bhanu_850925-Jun-08 4:04 
AnswerRe: Directshow methods in VC++ Windows forms application Pin
led mike25-Jun-08 4:59
led mike25-Jun-08 4:59 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850925-Jun-08 5:03
bhanu_850925-Jun-08 5:03 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
led mike25-Jun-08 5:08
led mike25-Jun-08 5:08 
GeneralText Disappears in TextBox Pin
Brady Kelly25-Jun-08 3:20
Brady Kelly25-Jun-08 3:20 
GeneralRe: Text Disappears in TextBox Pin
Luc Pattyn25-Jun-08 4:07
sitebuilderLuc Pattyn25-Jun-08 4:07 
GeneralRe: Text Disappears in TextBox Pin
Brady Kelly25-Jun-08 4:14
Brady Kelly25-Jun-08 4:14 
GeneralRe: Text Disappears in TextBox Pin
Alan N25-Jun-08 8:04
Alan N25-Jun-08 8:04 
GeneralRe: Text Disappears in TextBox Pin
Brady Kelly25-Jun-08 8:10
Brady Kelly25-Jun-08 8: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.