Quick Tip – Change those GUIDs!

Do you like to copy/paste code from this blog, http://thebuildingcoder.typepad.com, http://spiderinnet.typepad.com/ or wherever? Don’t we all?

But remember, when you do this it is a good idea to change any GUIDs because you never know who else is copying that code and what collisions might result from GUID duplication.

For example:

http://thebuildingcoder.typepad.com/blog/2013/05/a-simpler-dockable-panel-sample.html

 DockablePaneId dpid = new DockablePaneId(
      new Guid( "{D7C963CE-B7CA-426A-8D51-6E8254D21157}" ) );
Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s