Form CodeSample - Dialog With No Close Button
Categories: Forms, Skinnable and Inherited Controls
|
Tags: Developers, Theme, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
Revision:
1
Posted:
06/Dec/2009
Updated:
23/July/2010
Status:
Publish
Types: Code
|
This article will have a few sections added to it soon, based on the following article type skeleton: CodeSampleThis article missing it's contents and needs writing. OverviewThis sample application makes use of a Theme to both hide the X close button of the Form and add a right border to the restore/maximize button, to compensate of the lack of a close Button. Samples of useVB.NET Code
'Code is not relevant here.
'The relevant changes are in the Theme.
C# Code
//Code is not relevant here.
//The relevant changes are in the Theme.
The demo applicationThe changes in the theme are both removing references to the close button images in the: DialogWindowCloseButtonDisabledStyle, DialogWindowCloseButtonHoverStyle and DialogWindowCloseButtonNormalStyle setting, and changing the restore and maximize button images to add a right side border. RererencesCode samplesForum discussons
About the author
Related Articles
|
Forms
|
|
|
Tags:
Developers, Windows & Dialogs, C#, XML, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, Windows & Dialogs, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Developers, Events, Navigation, 1. Beginner, 2. Intermediate, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
Tags:
Architects, Developers, Windows & Dialogs, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, Navigation, Windows & Dialogs, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Developers, Events, Windows & Dialogs, 1. Beginner, 2. Intermediate, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
|