PowerShell In GUI Blog

PowerShell GUI Box Just In A Few Clicks

ObjectBrowser has migrated to Set-StrictMode successfully

leave a comment »

Today, as I sincerely hope, I fixed the last but major bug stemmed from moving to the use of the Set-StrictMode statement. This bug prevented ObjectBrowser GUI from displaying properties, events and fields of classes. A major one, need to admit.

As a result, list of signatures of methods became a simple list of method names, so that all clas members now can be sorted by name, member type (i.e. property, method, etc), and a return value or property, saying about methods and fields.

Also, types of event handlers are shown after this fix.

To conclude, you might now instead of typing something like

[System.Windows.Forms.Form]$frm = 
    New-Object System.Windows.Forms.Form;
#never run it by Ctrl+F7 
#and never expand 
#the $frm variable in the Variables frame

simply navigate to the System.Windows.Forms.dll assembly, through the System.Windows.Forms namespace, after that click on the Form class and get the full list of its members.


Written by Alexander Petrovskiy

March 30, 2011 at 6:55 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: