CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Posts
    670

    Question Derived class from Button

    I derived a class from System.Windows.Forms.Button, named Cell.
    I created Button, and than changed it be a Cell.
    It was complied, and run.
    BUT, if I change anything in the form, my cell is removed from the code.
    What can I do?

  2. #2
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    do you have a sample snippet of the code that you are trying.
    avoid writing in Initialize method, coz sometimes VS.NET editor with remove code , I have seen that




    paresh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured