DiagramLib

Description

DiagramLib is a library that give the opportunity to draw some schema like Visio.  I did this librairy doing a addon to Microsoft Visual Studio.  The goal was simple use the drag&drop to quickly build a schema.

 

Features

  • You can draw many different shapes like: oval, rectangle, rounded rectangle, diamond and the special class shape.
  • Each shape is completely manageable by the UI.  You just need to right-click on a shape to get the Property windows, exactly like Microsoft Visual Studio.
  • You can draw connection between shapes.  Those connections will automatically be re-draw to optimize the path as you moving a shape.  Also the connections have the same customization feature as all shape.
  • The board will automatically expend if needed.
  • You can save and load the schema.

Code

To be able to use the library you just need to add a reference to it. 

   1: private GraphControl oBoard;


   2:  


   3: this.oBoard = new Compuware.DiagramLib.GraphControl();


   4:  


   5: this.oBoard.Dock = System.Windows.Forms.DockStyle.Fill;


   6: this.oBoard.Location = new System.Drawing.Point(0, 0);


   7: this.oBoard.Name = "oBoard";


   8: this.oBoard.ShowLoadSaveOption = true;


   9: this.oBoard.Size = new System.Drawing.Size(605, 372);


  10: this.oBoard.Tracking = false;




Download



I did a quick test application to play with the class that you can download here: http://boucheros.no-ip.org/TestDiagramLib/



If you prefer doing a Test application by you're self here is the DLL: Boucheros.DiagramLib.rar



 



ScreenShot



image



For any Question or comment feel free to live a comment.

What you must have to enjoy IE7

Recently I got some trouble with the so lovely Firefox, so I got no choice to suffer and use IE. But then I take the time to search how I can improve the application. Here is my top 4 of some add-ons that are really nice....

Internet Explorer Developer Toolbar

The Microsoft Internet Explorer Developer Toolbar provides a set of tools for quickly creating and debugging web pages. Tools include such areas as exploring the DOM of a page, locating specific elements on a page, and outlining code blocks. It's really look like FireBug, a MSUT to any developer. Download from here.

image

Inline Search

Inline Search is a quick way to search for content on a web page without pulling up the Find Dialog as well as providing the ability to find as you type and highlighted search terms.

http://www.ieforge.com/InlineSearch/HomePage

image

Extended Copy Menu

Again for all developer... Adds a “Copy As Html” and “Copy As Plain Text” to the context (right-click) menu.

http://ryanscook.com/adminsBlog/2007/02/firefox-ie-copy-context-menus.html

image004

IE7Pro

IE7Pro is an add-on for Internet Explorer which adds a lot of features and extras which make your Browsing faster,More Responsive and Sleek. It add also:

  • New Module: FasterIE,It will increase your IE surfing speed.
  • Add Session Manager function, it include save, load, copy, send by mail
  • IE context menu add save selected source code to file and clipboard as html, text, links
  • Online bookmark support IE8 webslice now
  • New ActiveXObject interface.
  • View page info SaveAs dialog support multi-select now
  • Add serverinfo plugin again

http://www.ie7pro.com/index.php?language=en

Voila! I hope you will enjoy those.

François