Click here to Skip to main content
16,005,178 members
Home / Discussions / C#
   

C#

 
GeneralRe: serialization problem with a class that derives from dataset Pin
god4k14-Apr-05 18:01
god4k14-Apr-05 18:01 
GeneralRe: serialization problem with a class that derives from dataset Pin
god4k14-Apr-05 18:41
god4k14-Apr-05 18:41 
QuestionHow to copy tables? Pin
ben214-Apr-05 13:18
ben214-Apr-05 13:18 
AnswerRe: How to copy tables? Pin
turbochimp14-Apr-05 16:56
turbochimp14-Apr-05 16:56 
GeneralRe: How to copy tables? Pin
ben219-Apr-05 11:50
ben219-Apr-05 11:50 
AnswerRe: How to copy tables? Pin
Alex Korchemniy14-Apr-05 19:00
Alex Korchemniy14-Apr-05 19:00 
GeneralBuilding Addin Pin
MAF14-Apr-05 12:00
MAF14-Apr-05 12:00 
GeneralRe: Building Addin Pin
Dave Kreskowiak14-Apr-05 16:52
mveDave Kreskowiak14-Apr-05 16:52 
Well, I'm no expert in writing IDE extensions, because I've never written one. But, from 5 minutes worth of research on MSDN, I think you can use the Kind property of the ProjectItem object and see if it equals vsCMElementClass. From there, you'll have to drill into the ProjectItem and determine if the class inherits from System.Windows.Forms.Form. Since a file can contain more than just the Form class, you'll have to check all the classes in the file to find the correct class that represents the Form.

Do I have any example code? No, like I said, I've never written an IDE extension.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralInterting page break richTextBox Pin
Member 156981014-Apr-05 11:41
Member 156981014-Apr-05 11:41 
GeneralRe: Interting page break richTextBox Pin
Sebastian Schneider14-Apr-05 21:34
Sebastian Schneider14-Apr-05 21:34 
GeneralRe: Interting page break richTextBox Pin
Ashok Dhamija15-Apr-05 1:03
Ashok Dhamija15-Apr-05 1:03 
GeneralRe: Interting page break richTextBox Pin
Member 156981015-Apr-05 5:24
Member 156981015-Apr-05 5:24 
GeneralMake a TreeView expanded Pin
AngelFace14-Apr-05 10:58
AngelFace14-Apr-05 10:58 
GeneralRe: Make a TreeView expanded Pin
turbochimp14-Apr-05 11:15
turbochimp14-Apr-05 11:15 
GeneralRe: Make a TreeView expanded Pin
Kordzik14-Apr-05 11:23
Kordzik14-Apr-05 11:23 
GeneralRe: Make a TreeView expanded Pin
Kordzik14-Apr-05 11:24
Kordzik14-Apr-05 11:24 
GeneralAccess static function through System.Type Pin
RATC14-Apr-05 10:44
RATC14-Apr-05 10:44 
GeneralRe: Access static function through System.Type Pin
turbochimp14-Apr-05 11:36
turbochimp14-Apr-05 11:36 
GeneralRe: Access static function through System.Type Pin
RATC14-Apr-05 11:46
RATC14-Apr-05 11:46 
Generalopening special files Pin
bouli14-Apr-05 10:19
bouli14-Apr-05 10:19 
GeneralRe: opening special files Pin
Dave Kreskowiak14-Apr-05 16:37
mveDave Kreskowiak14-Apr-05 16:37 
Generalextract jpg file width and height Pin
muadib114-Apr-05 10:05
muadib114-Apr-05 10:05 
GeneralRe: extract jpg file width and height Pin
turbochimp14-Apr-05 11:38
turbochimp14-Apr-05 11:38 
GeneralUSB camera code Pin
zeris197314-Apr-05 9:57
zeris197314-Apr-05 9:57 
GeneralRe: USB camera code Pin
tom_dx14-Apr-05 16:25
tom_dx14-Apr-05 16:25 

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.