-
Notifications
You must be signed in to change notification settings - Fork 14
/
readMe.html
424 lines (414 loc) · 23.6 KB
/
readMe.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<html xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name="author" content="Crownwood Consulting Ltd." />
<meta name="description" content="Magic, The User Inteface Library for .NET." />
<meta name="keywords" content=".NET Framework,DotNet,.NET,magic,gui,docking,dockable,toolbars,menus,components,controls,c,csharp,vb,visual basic,WinForms,Windows Forms" />
<meta name="robots" content="all" />
<title>Magic - The User Interface Library for .NET - ReadMe</title>
<link href="articles/images3/master.css" type="text/css" rel="stylesheet" />
<script language="JavaScript" type="text/javascript">
<!--Dummy comment to hide code from non-JavaScript browsers.
if (document.images)
{
readme_off = new Image(); readme_off.src = "articles/images3/readme.gif"
readme_over = new Image(); readme_over.src = "articles/images3/readme_over.gif"
articles_off = new Image(); articles_off.src = "articles/images3/articles.gif"
articles_over = new Image(); articles_over.src = "articles/images3/articles_over.gif"
bespoke_off = new Image(); bespoke_off.src = "articles/images3/bespoke.gif"
bespoke_over = new Image(); bespoke_over.src = "articles/images3/bespoke_over.gif"
contact_off = new Image(); contact_off.src = "articles/images3/contact.gif"
contact_over = new Image(); contact_over.src = "articles/images3/contact_over.gif"
}
function turn_off(ImageName) {
if (document.images != null) {
document[ImageName].src = eval(ImageName + "_off.src");
}
}
function turn_over(ImageName) {
if (document.images != null) {
document[ImageName].src = eval(ImageName + "_over.src");
}
}
// End of dummy comment-->
</script>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" class="lightBG">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" class="lightBG">
<tr>
<td height="100%" class="lightBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td height="100%" width="750">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="23" class="lightBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="99" class="lightBG">
<table width="100%" height="99" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="99" class="pageHeader" valign="bottom">ReadMe</td>
<td height="143" width="362" class="lightBG">
<img src="articles/images3/logo_full.jpg" alt="Magic Logo" height="143" width="362" border="0" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="20" class="lightMenu">
<table width="100%" height="20" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="lightMenu">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td class="lightMenu" height="20" width="52">
<a href="readme.html" onmouseout="turn_off('readme')" onmouseover="turn_over('readme')">
<img name="readme" src="articles/images3/readme.gif" border="0" width="49" height="20" />
</a>
</td>
<td class="lightMenu" height="20" width="50">
<a href="articles/articles.html" onmouseout="turn_off('articles')" onmouseover="turn_over('articles')">
<img name="articles" src="articles/images3/articles.gif" border="0" width="47" height="20" />
</a>
</td>
<td class="lightMenu" height="20" width="57">
<a href="articles/bespoke.html" onmouseout="turn_off('bespoke')" onmouseover="turn_over('bespoke')">
<img name="bespoke" src="articles/images3/bespoke.gif" border="0" width="54" height="20" />
</a>
</td>
<td class="lightMenu" height="20" width="51">
<a href="articles/contact.html" onmouseout="turn_off('contact')" onmouseover="turn_over('contact')">
<img name="contact" src="articles/images3/contact.gif" border="0" width="48" height="20" />
</a>
</td>
<td class="lightMenu" width="3">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="23" class="pageBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="100">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="100%" width="125" class="pageBG">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="10">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="15" width="18" valign="bottom">
<img src="articles/images3/rightarrow.gif" height="15" width="18" border="0" />
</td>
<td height="15">
<a class="sectionHeader" href="#version">version 1.7.4</a>
</td>
</tr>
<tr>
<td height="15" width="18" valign="bottom">
<img src="articles/images3/rightarrow.gif" height="15" width="18" border="0" />
</td>
<td height="15">
<a class="sectionHeader" href="#bugfix">bug fixes</a>
</td>
</tr>
<tr>
<td height="15" width="18" valign="bottom">
<img src="articles/images3/rightarrow.gif" height="15" width="18" border="0" />
</td>
<td height="15">
<a class="sectionHeader" href="#build">building</a>
</td>
</tr>
<tr>
<td height="15" width="18" valign="bottom">
<img src="articles/images3/rightarrow.gif" height="15" width="18" border="0" />
</td>
<td height="15">
<a class="sectionHeader" href="#license">license</a>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
</table>
</td>
<td width="10">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
<td height="100%" width="625">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr class="documentHeader">
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td height="36">
<a name="version">Version 1.7.4</a>
</td>
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentMain">
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td valign="top" class="documentText">
<content xmlns="">
This is a maintenance release containing several fixes to issues found in 1.7.3.<p /></content>
</td>
</tr>
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="15" class="pageBG" colspan="3">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentHeader">
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td height="36">
<a name="bugfix">Bug fixes</a>
</td>
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentMain">
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td valign="top" class="documentText">
<content xmlns="">
<h2>TabbedGroups</h2>
Moving a page to another leaf could cause a crash to occur and has been fixed.<p />
Moving a page to another leaf could cause the pages to disappear and has been fixed.<p />
AtLeastOneLeaf set to <i>false</i> in <i>InitializeComponent</i> method would not be honoured
and a leaf would be created and shown when the form is shown. This has been corrected.<p />
ActiveLeaf is no longer persisted into <i>InitializeComponent</i> as it makes no sense to do so.<p /><h2>TabControl</h2>
New property <i>DragOverSelect</i> 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 <i>false</i>.<p />
New method <i>TabPageFromPoint</i> 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
<i>null</i> if no match can be found.<p /><h2>Docking</h2>
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.<p />
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.<p /></content>
</td>
</tr>
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="15" class="pageBG" colspan="3">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentHeader">
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td height="36">
<a name="build">Build instructions</a>
</td>
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentMain">
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td valign="top" class="documentText">
<content xmlns="">
<h2>Building the samples</h2>
Each sample has been written in <i>C#</i> and <i>VB.NET</i>, so you should navigate to the appropriate language
version contained below the <i>Magic Library 1.7.4\Samples</i> 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 <i>"Set as StartUp Project"</i> option. Now select the <i>"Debug \ Start"</i> menu option and the
projects will be automatically compiled and the selected sample started.<p /><h2>Building the Magic source code</h2>
Navigate to the <i>Magic Library 1.7.4\Source</i> directory and you will find a Visual Studio .NET solution
called <i>MagicLibrary</i>. 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
<i>Magic Library 1.7.4\Bin</i> directory and given the name <i>MagicLocalLibrary.dll</i> to distinguish it from the
official signed version that is in the same location and called <i>MagicLibrary.dll</i>.<p /><h2>Using Magic in your own applications</h2>
Either create a new project or load the existing project of interest and right click the <i>References</i> folder.
The will present a dialog box with the <i>.NET</i> tab already selected. Navigate down the list of assemblies in
this tab until you find the <i>Magic</i> entry which should then be selected. Your project now has a reference to
the official signed build of <i>Magic</i>. When you decide to distribute your project you will need to also distribute
the signed assembly which is contained in the <i>Magic Library 1.7.4\Bin</i> directory and called <i>MagicLibrary.dll</i>.
It is recommended that you add the signed version into the GAC during your own installation process.
</content>
</td>
</tr>
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="15" class="pageBG" colspan="3">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentHeader">
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td height="36">
<a name="license">License terms</a>
</td>
<td height="36" width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr class="documentMain">
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
<td>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td valign="top" class="documentText">
<content xmlns="">
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 <i>www.dotnetmagic.com</i> from the
<i>About</i> box of your application.<p />
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.<p />
The following restrictions apply to all parts of the library, including all source code, assemblies,
samples and documentation...<p /><ul><li>The above items cannot be sold as is, either individually or together.</li><li>The above items cannot be modified and then sold as a library component, either
individually or together.</li></ul>
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.<p />
If in any doubt they please contact us at <a href="mailto:license@dotnetmagic.com">
license@dotnetmagic.com</a> for a quick determination.<p /></content>
</td>
</tr>
<tr>
<td height="5">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
<td width="7">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="15" class="pageBG" colspan="3">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="23" class="pageBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td class="pageBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
<tr>
<td height="25" align="center" valign="bottom" class="copyright">Copyright 2003 Crownwood Consulting Ltd. All Rights Reserved</td>
</tr>
<tr>
<td height="15" class="lightBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</td>
<td height="100%" class="lightBG">
<img src="articles/images3/spacer.gif" height="1" width="1" border="0" />
</td>
</tr>
</table>
</body>
</html>