Click here to Skip to main content
15,918,125 members
Home / Discussions / Windows Forms
   

Windows Forms

 
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 
AnswerRe: Invoking Different VS property Dialog boxes (ex. CellStyle Builder, Collection Editors) Pin
Thoughthopper27-Jun-08 4:13
Thoughthopper27-Jun-08 4:13 
Well after doing more and more research i found that the EditorAttribute is making the difference between both properties, so in order to override it i had to do something like this:

//This is the editor that we inherit:
//[Editor("System.Windows.Forms.Design.DataGridViewColumnCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]

//This is the editor to override
        [Editor("", typeof(UITypeEditor))]
        public new DataGridViewColumnCollection Columns
        {
            get
            {
                return base.Columns;
            }
        }

//Now, we can erase the following property
//        public DataGridViewColumnCollection MyColumns
//        {
//           get
//            {
//                return base.Columns;
//            }
//        }


But this still does not answer my original question...
Is there a way to use the editor from the code? I guess not...

Any hint or orientation is well appreciated.
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 
GeneralRe: Text Disappears in TextBox Pin
Brady Kelly26-Jun-08 23:09
Brady Kelly26-Jun-08 23:09 

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.