Namespace: Consultingwerk.Studio.ConfigurationSettingsEditor
Class 
ConfigurationSettingsEditorForm Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: Consultingwerk.Forms.IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasSecurityKey

File:ConfigurationSettingsEditorForm
Purpose:Maintanence Tools for Configuration Settings
Author(s):Mark Bartscherer / Consultingwerk Ltd.
Created:Wed Nov 30 16:42:15 CET 2016



Top Method Summary
Options Name Purpose
LOGICAL CheckChanges () Prompts for SaveChanges prompt if required
CloseFile () Closes the current file and prepares the UI to create a new file.
InitConfigurationParamValueListColumn () Initializes the ConfigurationName column ValueItems with the known PropertyNames
InitializeComponent ()
InitUI (character) Exented Initialization.
NewFile () Prepares the Form to Create a new file
OnFormClosing (FormClosingEventArgs) Raises the FormClosing Event
OnShown (EventArgs) Raises the Shown event
OpenFile () Shows the FileOpenDialog to let the user select a file and opens that file
OpenFile (character) Opens a file and dependent on it's extension it parses the Json or XML content
OpenFileFromLRU (character) Opens a file from the LRU list
PrepareTempTableAdapter () Prepares the TempTable Adapter to retreive data
RecordsChangedHandler (Object, EventArgs) Event handler for various records manipulation events of the smartTempTableAdapter1
RefreshUI (character) Refreshs the WindowTitle, Retrievs the configuration data and refreshs the Grid
SaveFile () Saves the current file in the current format
SaveFile (character) Saves a file in Json or XML format dependent on it's extension
SaveFileAs () Shows the SaveFileDialog to let the user select a file and saves the configuration data in that file.
ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event of the smartToolbarController1
CHARACTER WindowTitle (character) Returns the Title that should be shown in the title bar Business Entity Designer Form

Top Constructor Summary
Options Name Purpose
ConfigurationSettingsEditorForm () Constructor for the DesktopForm class
ConfigurationSettingsEditorForm (character) Constructor for the DesktopForm class


Method Detail
Top

LOGICAL CheckChanges ()

Purpose: Prompts for SaveChanges prompt if required
Notes:

Returns LOGICAL
Logical value indicating if the user has chosen to save changes
Top

CloseFile ()

Purpose: Closes the current file and prepares the UI to create a new file.
Notes:

Top

InitConfigurationParamValueListColumn ()

Purpose: Initializes the ConfigurationName column ValueItems with the known PropertyNames
Notes:

Top

InitializeComponent ()


Top

InitUI (character)

Purpose: Exented Initialization.
Notes: If the Form is instantiated with a file name then that
that file gets opened and parsed.

Parameters:
pcFileName CHARACTER
The file to open and parse
Top

NewFile ()

Purpose: Prepares the Form to Create a new file
Notes:

Top

OnFormClosing (FormClosingEventArgs)

Purpose: Raises the FormClosing Event
Notes:

Parameters:
e System.Windows.Forms.FormClosingEventArgs
The FormClosingEventArgs with the data for this event
Top

OnShown (EventArgs)

Purpose: Raises the Shown event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

OpenFile ()

Purpose: Shows the FileOpenDialog to let the user select a file and opens that file
Notes:

Top

OpenFile (character)

Purpose: Opens a file and dependent on it's extension it parses the Json or XML content
Notes:

Parameters:
pcFileName CHARACTER
The file to open and parse
Top

OpenFileFromLRU (character)

Purpose: Opens a file from the LRU list
Notes:

Parameters:
pcFileName CHARACTER
The file name to load
Top

PrepareTempTableAdapter ()

Purpose: Prepares the TempTable Adapter to retreive data
Notes:

Top

RecordsChangedHandler (Object, EventArgs)

Purpose: Event handler for various records manipulation events of the smartTempTableAdapter1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The ToolClickEventArgs with the data for this event
Top

RefreshUI (character)

Purpose: Refreshs the WindowTitle, Retrievs the configuration data and refreshs the Grid
Notes:

Parameters:
pcFileName CHARACTER
The file name used to show in the Window Title
Top

SaveFile ()

Purpose: Saves the current file in the current format
Notes: If current file is a new file then the SaveFileDialog is shown

Top

SaveFile (character)

Purpose: Saves a file in Json or XML format dependent on it's extension
Notes:

Parameters:
pcFileName CHARACTER
The file to save
Top

SaveFileAs ()

Purpose: Shows the SaveFileDialog to let the user select a file and saves the
configuration data in that file.
Notes:

Top

ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the smartToolbarController1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event
Top

CHARACTER WindowTitle (character)

Purpose: Returns the Title that should be shown in the title bar Business Entity Designer Form
Notes:

Parameters:
pcFileName CHARACTER
The currently open file name or ? for "untitled"
Returns CHARACTER
The Title that should be shown in the title bar


Constructor Detail
Top

ConfigurationSettingsEditorForm ()

Purpose: Constructor for the DesktopForm class
Notes: Starts the form with the FileOpenDialog

Top

ConfigurationSettingsEditorForm (character)

Purpose: Constructor for the DesktopForm class
Notes: Starts the form and opens a file

Parameters:
pcFileName CHARACTER
The file name to open


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:29:29