WinApplication Members
In This Article
#Constructors
Name | Description |
---|---|
Win |
Initializes a new instance of the Win |
Win |
For internal use. |
#Fields
Name | Description |
---|---|
Application |
|
Confirmations static |
Gets the name on the Localization node’s child node that provides access to the localizable confirmations texts.
Inherited from Xaf |
Current |
For internal use only.
Inherited from Xaf |
Ignore |
A string specifying the command line argument which prohibits saving the user differences. When this argument is passed, the Win |
Model |
The name of the configuration file key, which specifies the Application Model cache file location (see Xaf |
Model |
A string, which is the command line argument prefix, specifying the model differences directory path. When the argument with this prefix is passed, the remaining part of the argument is set to the Win |
New |
Contains the name of the configuration file key, specifying the path to the folder with a new application version. |
Options |
For internal use only.
Inherited from Xaf |
Table |
For internal use.
Inherited from Xaf |
Trace |
Specifies the setting in the configuration file’s app |
User |
The name of the configuration file key, which specifies the user differences file location. |
Xaf |
Specifies a string identifier for exceptions occurred while logging on to the application.
Inherited from Xaf |
#Properties
Name | Description |
---|---|
Application |
Inherited from Xaf |
Application |
Specifies the application’s name.
Inherited from Xaf |
Can |
Gets a value indicating whether the component can raise an event. Inherited from Component. |
Check |
Specifies how the database and application compatibility is checked.
Inherited from Xaf |
Connection |
Specifies the connection to the database used by the application.
Inherited from Xaf |
Connection |
Specifies the connection string used to connect to the application’s database or to the Application Server.
Inherited from Xaf |
Container | Gets the IContainer that contains the Component. Inherited from Component. |
Current |
Returns an ICurrent |
Database |
Specifies the database update mode.
Inherited from Xaf |
Default |
Specifies the default mode of operation for Collection Sources created by the Xaf |
Delayed |
Indicates whether View Items controls are initialized immediately when a View is created.
Inherited from Xaf |
Design |
Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Design |
For internal use.
Inherited from Xaf |
Editor |
Provides access to the application’s Editors Factory, which is used to load View Items and List Editors to the Application Model and create them when needed.
Inherited from Xaf |
Enable |
Specifies if the Application Model cache designed to improve the startup speed and performance is enabled.
Inherited from Xaf |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Frame |
Specifies the IFrame |
Ignored |
Returns a collection of exceptions that are not to be reported by the application.
Inherited from Xaf |
Ignore |
Specifies if the user model differences are ignored. |
Is |
|
Is |
For internal use only.
Inherited from Xaf |
Is |
For internal use. Use the Detail |
Is |
Indicates whether the application component is currently being initialized.
Inherited from Xaf |
Link |
Specifies whether or not a link between a master and child object is created immediately when the New |
Main |
Gets the application’s main Window. |
Max |
Specifies the allowed number of failed login attempts before the application closes.
Inherited from Xaf |
Messaging static | Specifies the Messaging object, used by the Windows Forms application to display message boxes. |
Model |
Provides access to the Application Model‘s root node.
Inherited from Xaf |
Model |
Specifies a path to the directory where the model differences file (Model. |
Modules |
Provides access to the module list used by the application.
Inherited from Xaf |
Object |
Provides access to the application’s Object Space Provider.
Inherited from Xaf |
Object |
Inherited from Xaf |
Object |
Gets a list of Object Space Providers used by Xaf |
Optimize |
For internal use.
Inherited from Xaf |
Optimized |
Disables the instantiation of Controllers that will never be activated in nested List Views.
Inherited from Xaf |
Prevent |
|
Resources |
Provides access to a collection of Resource Localizers used in the current application to extend the Application Model’s IModel |
Run |
Manages startup. Refer to the Win |
Security |
Provides access to the Security Strategy used in the application.
Inherited from Xaf |
Service |
Provides access to IService |
Show |
Specifies the Show View Strategy used in a Windows Forms application. |
Site |
For internal use only.
Inherited from Xaf |
Splash |
Specifies the splash screen displayed when a Windows Forms application starts. |
Table |
For internal use.
Inherited from Xaf |
Title |
Specifies the application’s title.
Inherited from Xaf |
Types |
Gets the ITypes |
Use |
Enables the Light Style in a Win |
Use |
Replaces old templates (Main |
User |
Specifies the path to the user model differences file. |
Use |
For internal use. |
#Methods
Name | Description |
---|---|
Ask |
Requests an end-user confirmation via the dialog window. |
Begin |
Starts the Xaf |
Check |
Checks whether the application and database are compatible, and if not, tries to make them compatible.
Inherited from Xaf |
Create |
Creates an application builder object that you can use to customize the application options. |
Create |
Creates a Collection Source for a specific List View.
Inherited from Xaf |
Create |
Creates a Collection Source for a specific List View.
Inherited from Xaf |
Create |
Creates a Collection Source for a specific List View.
Inherited from Xaf |
Create |
Creates a collection source for a specified List View.
Inherited from Xaf |
Create |
Creates a Controller of a specified type. If there is a Controller of the same type, assigns its settings to the new Controller.
Inherited from Xaf |
Create |
Creates a Dashboard View using information from the Application Model‘s Views | Dashboard |
Create |
Creates a Database Updater for a specified Object Space Provider.
Inherited from Xaf |
Create |
Creates a Detail View for the specified object with settings from the Application Model‘s Views | Detail |
Create |
Creates a Detail View based on information from the Application Model‘s Views | Detail |
Create |
Creates a Detail View for a specified object based on information on the source View.
Inherited from Xaf |
Create |
Creates a Detail |
Create |
Creates a Detail View based on information specified in the Application Model for the type of the specified object.
Inherited from Xaf |
Create |
For internal use.
Inherited from Xaf |
Create |
Creates a Detail View for the specified object based on the information from the Application Model‘s Views | Detail |
Create |
Creates a Detail View based on information from the Application Model‘s Views | Detail |
Create |
For internal use only. Use the Create |
Create |
For internal use. We recommend to use the Create |
Create |
Inherited from Xaf |
Create |
Inherited from Xaf |
Create |
Creates a new Frame.
Inherited from Xaf |
Create |
Creates a Layout Manager.
Inherited from Xaf |
Create |
Creates the List Editor which is specified in the appropriate Application Model node.
Inherited from Xaf |
Create |
Creates a List View used for the objects of the specified type, by default.
Inherited from Xaf |
Create |
For internal use.
Inherited from Xaf |
Create |
Creates a List View based on the information from the Application Model‘s node specified by the model |
Create |
Creates a List View based on information from the Application Model‘s Views | View node specified by the list |
Create |
Creates a List View used for the objects of the specified type, by default.
Inherited from Xaf |
Create |
Inherited from Xaf |
Create |
Inherited from Xaf |
Create |
Creates nested Object Space.
Inherited from Xaf |
Create |
Creates an object of the type designated by the generic type parameter.
Inherited from Xaf |
Create |
Creates an Object Space. Use this method overload if your application registers only one Object |
Create |
Creates an Object Space that supports a specific object type. Use this method overload if your application registers several Object |
Create |
Creates an Object Space of the specified type.
Inherited from Xaf |
Create |
Creates a new pop-up Window.
Inherited from Xaf |
Create |
Inherited from Xaf |
Create |
Creates a new pop-up Window.
Inherited from Xaf |
Create |
Creates a Collection Source for a nested List View that displays a collection property.
Inherited from Xaf |
Create |
Creates a Collection Source for a nested List View that displays a collection property.
Inherited from Xaf |
Create |
Creates a Collection Source for a nested List View that displays a collection property.
Inherited from Xaf |
Create |
Creates a Collection Source for a nested List View that displays a collection property.
Inherited from Xaf |
Create |
For internal use only.
Inherited from Xaf |
Create |
Inherited from Xaf |
Create |
Creates a new Window.
Inherited from Xaf |
Create |
Creates a new Window.
Inherited from Xaf |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
Dispose |
Inherited from Xaf |
Edit |
Displays the Model Editor form. |
End |
Ends the Xaf |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Exit() |
Finishes runing the application.
Inherited from Xaf |
Find |
Returns the ID of the Detail View which must be used for a specific object, when invoked from the source View.
Inherited from Xaf |
Find |
Returns the ID of the Detail View which is used for objects of a specified type by default.
Inherited from Xaf |
Find |
Returns the ID of the List View which is used for objects of a specified type by default.
Inherited from Xaf |
Find |
Returnes the ID of the Lookup List View which is used for objects of a specified type by default.
Inherited from Xaf |
Find |
Returns the Application Model‘s IModel |
Find |
Provides access the Application Model node that defines a specified View.
Inherited from Xaf |
Get |
For internal use only.
Inherited from Xaf |
Get |
Returns the ID of the Detail View which is used for objects of a specified type by default, and raises an exception if the appropriate View ID is not found.
Inherited from Xaf |
Get |
Gets the model differences file name
Inherited from Xaf |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Inherited from Marshal |
Get |
Returns the ID of the List View which is used for objects of a specified type by default, and raises the ‘Cannot |
Get |
Returns a name for the file where logon parameters are stored. |
Get |
For internal use.
Inherited from Xaf |
Get |
Returns an Object Space in which a Detail View should be created to be displayed via the Show |
Get |
Returns an Object Space in which a Detail View should be created to be displayed via the Show |
Get |
Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
Get |
Returns the Application Model node where settings of a specified Template are stored.
Inherited from Xaf |
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
Displays a message box with the specified text and set of buttons. |
Handle |
Shows the message box with details on the specified exception. |
Initialize |
Obtains a lifetime service object to control the lifetime policy for this instance.
Inherited from Marshal |
Log |
Closes all windows and displays the logon dialog. |
Logon() |
Performs the logon.
Inherited from Xaf |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Marshal |
Process |
Creates a View by a specified shortcut.
Inherited from Xaf |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove |
Removes the Win |
Restart() | Closes all windows, reinitializes and restarts the Windows Forms application. |
Save |
Saves the Application Model changes made by an end-user, up to the current moment, to the storage (Model. |
Set |
Sets the specified formatting culture for the current application.
Inherited from Xaf |
Set |
Sets the specified language for the current application when called before the application windows are shown.
Inherited from Xaf |
Set |
Obsolete. For internal use. |
Setup() |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Setup |
Initializes the newly created Xaf |
Show |
Indicates whether a Views invoked from the specified Frame can be displayed in a new Window. |
Start() | Starts the Windows Forms application. |
Start |
Executes the DXSplash |
Start |
Executes the DXSplash |
Start |
Executes the DXSplash |
Stop |
Executes the DXSplash |
Stop |
Executes the DXSplash |
Stop |
Executes the DXSplash |
To |
Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component. |
Update |
For internal use. |
Update |
Triggers the Xaf |
Wait |
|
Wait |
#Events
Name | Description |
---|---|
Create |
Occurs when creating a Collection Source for a List View.
Inherited from Xaf |
Create |
Occurs when a storage for device-specific model differences is being created.
Inherited from Xaf |
Create |
Inherited from Xaf |
Create |
Occurs both when reading and writing the last logon parameters, before creating the logon parameters storage.
Inherited from Xaf |
Create |
Occurs when creating Controllers for a Logon Window.
Inherited from Xaf |
Create |
Occurs when creating an Object Space for a Logon Window’s Detail View.
Inherited from Xaf |
Create |
Occurs when the object used to manage saving and loading the Application Model cache is created.
Inherited from Xaf |
Create |
This event is intended for internal use. Handle the Xaf |
Create |
Occurs when a storage for model differences is being created.
Inherited from Xaf |
Create |
Occurs when setting up the application.
Inherited from Xaf |
Create |
Occurs when creating a Collection Source for a nested List View that displays a collection property.
Inherited from Xaf |
Create |
Occurs when creating a Template.
Inherited from Xaf |
Create |
Occurs when a storage for end-user model differences is being created.
Inherited from Xaf |
Custom |
Occurs when trying to access the application’s database (when logging on or creating an Object Space).
Inherited from Xaf |
Custom |
For internal use.
Inherited from Xaf |
Custom |
Occurs before displaying a message box with an exception message. |
Customize |
Occurs after a formatting culture has been set internally.
Inherited from Xaf |
Customize |
Occurs after a language has been set for the application internally.
Inherited from Xaf |
Customize |
Occurs when setting up the application.
Inherited from Xaf |
Customize |
For internal use.
Inherited from Xaf |
Customize |
Occurs after a Template has been created.
Inherited from Xaf |
Custom |
Occurs when a View is created by its shortcut.
Inherited from Xaf |
Dashboard |
Occurs after a Dashboard View has been created.
Inherited from Xaf |
Dashboard |
Occurs when creating a Dashboard View.
Inherited from Xaf |
Database |
Occurs when creating a database updater.
Inherited from Xaf |
Database |
Occurs when the application being run calls the database.
Inherited from Xaf |
Detail |
Occurs after a Detail View has been created.
Inherited from Xaf |
Detail |
Occurs when creating a Detail View.
Inherited from Xaf |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
Frame |
Inherited from Xaf |
Handle |
For internal use only.
Inherited from Xaf |
Last |
Occurs after loading the last logon parameters from the settings storage to the logon object.
Inherited from Xaf |
Last |
Occurs before loading the last logon parameters from the settings storage to the logon object.
Inherited from Xaf |
Last |
Occurs before saving the logon Window‘s logon parameters to the settings storage.
Inherited from Xaf |
List |
Occurs after a List View is created.
Inherited from Xaf |
List |
Occurs when creating a List View.
Inherited from Xaf |
Logged |
Occurs after an end-user has logged off.
Inherited from Xaf |
Logged |
Occurs after an end-user has logged on.
Inherited from Xaf |
Logging |
Occurs when a user clicks the Log Off button or the ASP. |
Logging |
Occurs when the Logon button on the logon Window is clicked.
Inherited from Xaf |
Logon |
Occurs when the logon fails.
Inherited from Xaf |
Logon |
|
Model |
Occurs when the Application Model instance returned by the Xaf |
Model |
For internal use. |
Object |
Occurs after an Object Space has been created via the Xaf |
On |
Inherited from Xaf |
Property |
Occurs when the Xaf |
Setting |
Occurs before initializing the Xaf |
Setup |
Occurs after the Xaf |
Show |
Occurs when the Xaf |
Status |
Occurs when the Xaf |
User |
Occurs after the user-defined Application Model differences are loaded.
Inherited from Xaf |
View |
Occurs after a View has been created.
Inherited from Xaf |
View |
Occurs when creating a View.
Inherited from Xaf |
View |
Occurs before showing a View.
Inherited from Xaf |
View |
Occurs after a View is shown.
Inherited from Xaf |
See Also