Magic Logo
version 1.7.4
bug fixes
building
license
Version 1.7.4
This is a maintenance release containing several fixes to issues found in 1.7.3.

Bug fixes

TabbedGroups

Moving a page to another leaf could cause a crash to occur and has been fixed.

Moving a page to another leaf could cause the pages to disappear and has been fixed.

AtLeastOneLeaf set to false in InitializeComponent method would not be honoured and a leaf would be created and shown when the form is shown. This has been corrected.

ActiveLeaf is no longer persisted into InitializeComponent as it makes no sense to do so.

TabControl

New property DragOverSelect added so that when dragging over the tab control it will cause a change in tab page after a short delay when hovering over a tab page header. This can be turned off if not required by setting the this property to false.

New method TabPageFromPoint added that takes a client based mouse position and returns the tab page from that position. This matches against the tab page headers to find a match. Returns null if no match can be found.

Docking

Saving a configuration would often crash and especially when any of the content are in the auto hidden state. This has been corrected and should never crash.

Changes to the content title or image will now be reflected immediately in the auto hidden tab stubs that are visible at the edge of the docking area. Previously the text or images were not updated until the content was un-autohidden.

Build instructions

Building the samples

Each sample has been written in C# and VB.NET, so you should navigate to the appropriate language version contained below the Magic Library 1.7.4\Samples directory. Double click the solution file found and you will be presented with the list of available samples. Righ click the sample application of interest and select the "Set as StartUp Project" option. Now select the "Debug \ Start" menu option and the projects will be automatically compiled and the selected sample started.

Building the Magic source code

Navigate to the Magic Library 1.7.4\Source directory and you will find a Visual Studio .NET solution called MagicLibrary. Double click this solution and you will be presented with a project that includes all the source code for building an unsigned version of the Magic Library. The output will be placed by default in the Magic Library 1.7.4\Bin directory and given the name MagicLocalLibrary.dll to distinguish it from the official signed version that is in the same location and called MagicLibrary.dll.

Using Magic in your own applications

Either create a new project or load the existing project of interest and right click the References folder. The will present a dialog box with the .NET tab already selected. Navigate down the list of assemblies in this tab until you find the Magic entry which should then be selected. Your project now has a reference to the official signed build of Magic. When you decide to distribute your project you will need to also distribute the signed assembly which is contained in the Magic Library 1.7.4\Bin directory and called MagicLibrary.dll. It is recommended that you add the signed version into the GAC during your own installation process.
License terms
There is no license fee or royalty fee to be paid at any time for using the Magic Library. You are however requested to acknowledge the use of the library and provide a link to our home page www.dotnetmagic.com from the About box of your application.

You may include the source code, modified source code, signed assembly or modified built assembly within your own projects for either personal or commercial use but excluding the restrictions outlined below.

The following restrictions apply to all parts of the library, including all source code, assemblies, samples and documentation...

  • The above items cannot be sold as is, either individually or together.
  • The above items cannot be modified and then sold as a library component, either individually or together.
In other words, if you are using the library to enhance your project then you are fine. If you are trying to gain commercically from the library itself rather than using it to enhance your own work then you are prohibited from its use.

If in any doubt they please contact us at license@dotnetmagic.com for a quick determination.