SourceLibrary A TypeConverter that support string conversion from and to string with the currency symbol. Support Conversion for Float, Double and Decimal, Int A TypeConverter that support string conversion from and to string with a custom format number. Support Conversion for Float, Double and Decimal, Int Summary description for DateTimeTypeConverter. DateTimeStyle for Parse operations. DefaultValue: AllowInnerWhite|AllowLeadingWhite|AllowTrailingWhite|AllowWhiteSpaces Format of the Date. Example: G, g, d, D. Default value : G Formats to check when parse the string. If null call with no format the parse method. Default value: null A TypeConverter that support string conversion from and to string with the percent symbol. Support Conversion for Float, Double and Decimal If true and the user insert a string with no percent symbel the value is divided by 100, otherwise not. An interface to support string conversion and validation. Object = an object not yet converted for the current validator, Value = an object already converted and valid for the current validator, String = a string that can be used for conversion to and from Value, DisplayString = a string representation of the Value Returns true if the string is null or if is equals to the NullString Convert an object according to the current ValueType of the validator Convert a value valid for the current validator ValueType to an object with the Type specified. Throw an exception on error. Convert a value valid for the current validator ValueType to a string that can be used for other conversions, for example StringToValue method. Converts a string to an object according to the type of the string editor Returns true if string conversion is suported. AllowStringConversion must be true and the current Validator must support string conversion. Converts a value valid for this validator valuetype to a string representation. The string cannot be used for conversion. If the validator support string conversion this method simply call ValueToString otherwise call Value.ToString() Returns true if the value is valid for this type of editor without any conversion. Returns true if the object is valid for this type of validator, using conversion functions. Returns true if the object is valid for this type of validator, using conversion functions. Returns as parameter the value converted. Returns true if the string is valid for this type of editor, using string conversion function. Returns true if the string is valid for this type of editor, using string conversion function. An returns the object converted. Returns true if the value specified is presents in the list StandardValues. Returns the standard values at the specified index. If StandardValues support IList use simple the indexer method otherwise loop troght the collection. Returns the index of the specified standard value. -1 if not found. If StandardValues support IList use simple the indexer method otherwise loop troght the collection. True to allow null object value or NullString string Value Null string representation. A string is null when is null or when is equals to this string. Default is empty string. Used by ValueToString and StringToValue Null string representation. A string is null when is null or when is equals to this string. Default is empty string. Used by ValueToDisplayString Gets or Sets if the string conversion is allowed. Minimum value allowed. If null no check is performed. The value must derive from IComparable interface to use Minimum or Maximum feature. Maximum value allowed. If null no check is performed. The value must derive from IComparable interface to use Minimum or Maximum feature. Type allowed for the current editor. Cannot be null. Default value for this editor, usually is the default value for the specified type. A list of values that this editor can support. If StandardValuesExclusive is true then the editor can only support one of these values. If StandardValuesExclusive is true then the editor can only support the list specified in StandardValues. Culture for conversion. If null the default user culture is used. Default is null. A string editor for basic validator features, with no conversion Constructor. Cannot be null. Returns true if the string is null or if is equals to the NullString Convert an object according to the current ValueType of the validator Convert a value according to the current ValueType to an object with the Type specified. Throw an exception on error. Converts a value object to a string representation Converts a string to an object according to the type of the string editor Returns true if string conversion is suported. AllowStringConversion must be true and the current Validator must support string conversion. Converts a value valid for this validator valuetype to a string representation. The string cannot be used for conversion. If the validator support string conversion this method simply call ValueToString otherwise call Value.ToString() Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a value to a display string. Called from method ValueToDisplayString Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a value to a display string. Called from method ValueToDisplayString Returns true if the value is valid for this type of editor without any conversion. Returns true if the object is valid for this type of validator, using conversion functions. Returns true if the object is valid for this type of validator, using conversion functions. Returns as parameter the value converted. Returns true if the string is valid for this type of editor, using string conversion function. Returns true if the string is valid for this type of editor, using string conversion function. Returns as out parameter the object converted. Returns true if the value specified is presents in the list StandardValues. Returns the standard values at the specified index. If StandardValues support IList use simple the indexer method otherwise loop troght the collection. Returns the index of the specified standard value. -1 if not found. If StandardValues support IList use simple the indexer method otherwise loop troght the collection. True to allow null object value or NullString string Value Null string representation. A string is null when is null or when is equals to this string. Default is empty string. Used by ValueToString and StringToValue Null string representation. A string is null when is null or when is equals to this string. Default is empty string. Used by ValueToDisplayString Gets or Sets if the string conversion is allowed. Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a value to a display string. Called from method ValueToDisplayString Minimum value allowed. If null no check is performed. The value must derive from IComparable interface to use Minimum or Maximum feature. Maximum value allowed. If null no check is performed. The value must derive from IComparable interface to use Minimum or Maximum feature. Type allowed for the current editor. Cannot be null. Default value for this editor, usually is the default value for the specified type. A list of values that this editor can support. If StandardValuesExclusive is true then the editor can only support one of these values. If StandardValuesExclusive is true then the editor can only support the list specified in StandardValues. Culture for conversion. If null the default user culture is used. Default is null. A string editor that use a TypeConverter for conversion. Constructor. If the Type doesn't implements a TypeConverter no conversion is made. Constructor Cannot be null. Can be null to don't allow any conversion. Returns true if string conversion is suported. AllowStringConversion must be true and the current Validator must support string conversion. Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject Fired when converting a object to the value specified. Called from method ObjectToValue and IsValidObject TypeConverter used for this type editor, cannot be null. The ValueMapping class can be used to easily map a value to a string value or a display string for conversion Constructor Constructor A list of valid value. If null an error occurred. The index must match the index of ValueList, ObjectList and DisplayStringList A list of object that can be converted to value. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList A list of displayString. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList Bind the specified validator Unbind the specified validator A list of valid value. If null an error occurred. The index must match the index of ValueList, ObjectList and DisplayStringList A list of object that can be converted to value. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList A list of displayString. Can be null. The index must match the index of ValueList, ObjectList and DisplayStringList If true throw an error when the value if not found in one of the dictionary Drawing utility functions Draw a 3D border inside the specified rectangle using a linear gradient border color. The width of the dark border The width of the light border Interpolate the specified number of times between start and end color Abstract class that help to save settings in the isolated storage A class that helps save and load with stream persistence Constructor Summary description for IsolatedStorageSettingVersionBase. Deve essere lunga 8 caratteri Deve essere lunga 8 caratteri Deve essere lunga 8 caratteri Deve essere lunga 8 caratteri Utilities for password management. Password utilities using SH1 alghoritm Hash the string p_Password using SH1 alghoritm (SHA1CryptoServiceProvider). null if not used null if not used null if not used null if not used null if not used A custom extender class that adds a MenuImage attribute to MenuItem objects, and custom drawns the menu with an icon stored in a referenced ImageList control. This extension was written to provide an simple way to link icons in an Imagelist with a menu, and owner draw the menu. Other menu icon samples sub-class a MenuItem which interferes with the Visual Studio IDE for designing menus. Other examples required a lot of custom tooling and hand-coding. By using an extender, no custom coding is required. Menu images should be 16 x 16 Hashtable is used to relate added MenuItem components with each custom status messsage attribute value. Holds a reference to the user selected StatusBar instance where custom statusmessage attribute values are displayed. Constructor for instance that supports Class Composition designer. Reference to container hosting this instance. Used to set a MenuImage property value for a specific MenuItem component instance. the MenuItem object to store the image index value to associate with the menu item Image index is not a valid value. Used to retrieve the MenuImage extender property value for a given MenuItem component instance. the menu item instance associated with the value Returns the MenuImage index property value for the specified MenuItem component instance. Used to determine if the given component is supported by the extender. component to evaluate for compatability Returns True/False if the component supports the extender. Performs a set of checks related to a menu image such as a ImageList has been assigned, the image index is a valid number and is within the ImageList images collection boundaries, etc. the client object to retrieve the menuindex for Event triggered to measure the size of a owner drawn MenuItem. the menu item client object the event arguments Event triggered to owner draw the provide MenuItem. the menu item client object the event arguments Gets or Sets the ImageList control that holds menu images. an ImageList instance that holds menu icons. MenuHelper constructor to assist in owner drawn menus. a MenuItem object to custom draw a Graphics object provided by the MeasureItem and DrawItem events Based on the menu item text, and the SystemInformation.SmallIconSize, performs a calculation to determine the correct MenuItem height. Returns an int value that contains the calculated height of the menu item. Based on the menu item text, and the SystemInformation.SmallIconSize, performs a calculation to determine the correct MenuItem width. Returns an int value that contains the calculated width of the menu item. A method to evaluate if the MenuItem has a shortcut selected, and the shortcut has been selected for show. Returns True/False whether the menu has a shortcut to be displayed. Evaluates whether the MenuItem is a seperator by evaluating the text. Returns True/False whether the menu is a seperator. Evaluates whether the MenuItem is a top-level menu that is sited directly on a MainMenu control. Returns True/False if the menu item is a top-level menu. Draws a normal menu item including any related icons, checkboxes, menu text, shortcuts text, and parent/submenu arrows. a Rectangle that holds the drawing canvas boundaries True/False if the menu item is currently selected the image index of the menu icon to draw, defaults to -1 Draws the MenuItem background. a Rectangle that holds the painting canvas boundaries True/False if the menu item is currently selected Draws a menu seperator. a Rectangle that holds the drawing canvas boundaries Draws the text for an ownerdrawn MenuItem. a Rectangle that holds the drawing area boundaries True/False whether the menu item is currently selected Draws a checked item next to a MenuItem. a Rectangle that identifies the drawing area boundaries Draws a provided image onto the MenuItem. an Image to paint on the menu a Rectangle that holds the drawing space boundaries Draws a custom arrow on the right-side edge of the menu to indicate the menu has submenu items. Used to supplement a base contorl arrow that is painted incorrectly (seems to be a bug), and make the arrow appear correctly for longer menu items. Formats the MenuItem and returns the shortcut selection as a displayable text string. Summary description for ButtonMultiSelection. Required designer variable. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. A collection of elements of type SubButtonItem Initializes a new empty instance of the SubButtonItemCollection class. Initializes a new instance of the SubButtonItemCollection class, containing elements copied from an array. The array whose elements are to be added to the new SubButtonItemCollection. Initializes a new instance of the SubButtonItemCollection class, containing elements copied from another instance of SubButtonItemCollection The SubButtonItemCollection whose elements are to be added to the new SubButtonItemCollection. Adds the elements of an array to the end of this SubButtonItemCollection. The array whose elements are to be added to the end of this SubButtonItemCollection. Adds the elements of another SubButtonItemCollection to the end of this SubButtonItemCollection. The SubButtonItemCollection whose elements are to be added to the end of this SubButtonItemCollection. Adds an instance of type SubButtonItem to the end of this SubButtonItemCollection. The SubButtonItem to be added to the end of this SubButtonItemCollection. Determines whether a specfic SubButtonItem value is in this SubButtonItemCollection. The SubButtonItem value to locate in this SubButtonItemCollection. true if value is found in this SubButtonItemCollection; false otherwise. Return the zero-based index of the first occurrence of a specific value in this SubButtonItemCollection The SubButtonItem value to locate in the SubButtonItemCollection. The zero-based index of the first occurrence of the _ELEMENT value if found; -1 otherwise. Inserts an element into the SubButtonItemCollection at the specified index The index at which the SubButtonItem is to be inserted. The SubButtonItem to insert. Removes the first occurrence of a specific SubButtonItem from this SubButtonItemCollection. The SubButtonItem value to remove from this SubButtonItemCollection. Returns an enumerator that can iterate through the elements of this SubButtonItemCollection. An object that implements System.Collections.IEnumerator. Gets or sets the SubButtonItem at the given index in this SubButtonItemCollection. Type-specific enumeration class, used by SubButtonItemCollection.GetEnumerator. Summary description for ColorPicker. Required designer variable. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Control to simulate a ComboBox, because the one provided with the Framework doesn't support vertical sizing different from the size of the font. Required designer variable. Constructor Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Reload the properties from the validator Populate and show the listbox Fired when the SelectedIndex property change Returns the string valud at the specified index using the editor. If index is not valid return Validator.NullDisplayString. Select all the text of the textbox Fired when showing the drop down Fired when closing the dropdown Required True to set the textbox readonly otherwise false. Selected Index of the Items array. -1 if no value is selected or if the value is not in the Items list. Gets or sets the current value of the editor. The button in the right of the editor Fired when showing the drop down Fired when closing the dropdown Indicates if after the Validating event the Text is refreshed with the new value, forcing the correct formatting. True to enable the Escape key to undo any changes. Default is true. True to enable the Enter key to validate any changes. Default is true. True to enable the validation of the textbox text when the Validating event is fired, to force always the control to be valid. Default is true. True to allow the Value property to always return a valid value when the textbox.text is not valid, false to throw an error when textbox.text is not valid. Summary description for DropDownCustom. Required designer variable. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Close the DropDown whe the user press the escape key, return DialogResult.Cancel Close the DropDown whe the user press the enter key, return DialogResult.OK Summary description for ErrorDialog. Required designer variable. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Summary description for ErrorDialogDetails. Required designer variable. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Summary description for FormPosition. Required designer variable. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Summary description for HeaderGroupBox. A menu with Image support, using Chris.Beckett.MenuImageLib Set the image associated with this menu, this method can be called only one time. Set the image associated with this menu, this method can be called only one time. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Indicates to save all the childs form of a MDI window with the state of the active child window if this window is maximized. This flag allow to reopen all the child form maximized if you close the form MDI parent with a maximized mdi child. A TextBoxTypedButton that uase the UITypeEditor associated with the type. Control to simulate a ComboBox, because the one provided with the Framework doesn't support vertical sizing different from the size of the font. Required designer variable. Constructor Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Reload the properties from the validator Show the dialog Select all the text of the textbox Fired when showing the drop down Fired when closing the dropdown Required True to set the textbox readonly otherwise false. Gets or sets the current value of the editor. The button in the right of the editor Fired when showing the drop down Fired when closing the dropdown Indicates if after the Validating event the Text is refreshed with the new value, forcing the correct formatting. True to enable the Escape key to undo any changes. Default is true. True to enable the Enter key to validate any changes. Default is true. True to enable the validation of the textbox text when the Validating event is fired, to force always the control to be valid. Default is true. True to allow the Value property to always return a valid value when the textbox.text is not valid, false to throw an error when textbox.text is not valid. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. A TextBox that allows to set the type of value to edit, then you can use the Value property to read and write the specific type. Required designer variable. Constructor Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. If true the text has changed. Returns false when set the Value property. Validate the content of the TextBox Returns True if the value is valid otherwise false Reload the properties from the validator Indica l'ultimo valore impostato valido. null se non รจ stato impostato nessun valore. Questo serve nel caso in cui ci sia un Validating che fallisce e viene richiesta la property Value. In questo caso si restituisce questo valore. Raises the System.Windows.Forms.Control.TextChanged event. Raises the System.Windows.Forms.Control.Validating event. Raises the System.Windows.Forms.Control.KeyDown event. Raises the System.Windows.Forms.Control.KeyPress event. Check in the specific string if all the characters are valid The value of the TextBox, returns an instrnace of the specified type Error provider used when a text is not valid. Type converter used for conversion Message used with the ErrorProvider object Indicates if after the Validating event the Text is refreshed with the new value, forcing the correct formatting. True to enable the Escape key to undo any changes. Default is true. True to enable the Enter key to validate any changes. Default is true. True to enable the validation of the textbox text when the Validating event is fired, to force always the control to be valid. Default is true. True to allow the Value property to always return a valid value when the textbox.text is not valid, false to throw an error when textbox.text is not valid. A list of characters allowed for the textbox. Used in the OnKeyPress event. If null no check is made. If not null any others charecters is not allowed. First the function check if ValidCharacters is not null then check for InvalidCharacters. A list of characters not allowed for the textbox. Used in the OnKeyPress event. If null no check is made. If not null any characters in the list is not allowed. First the function check if ValidCharacters is not null then check for InvalidCharacters. Summary description for TextBoxTypedNumeric. Returns an array of valid numeric char If null the current culture is used Style of characters allowed.