diff --git a/OneScriptForms/OneScriptForms/AnchorStyles.cs b/OneScriptForms/OneScriptForms/AnchorStyles.cs index 66234a2..56df054 100644 --- a/OneScriptForms/OneScriptForms/AnchorStyles.cs +++ b/OneScriptForms/OneScriptForms/AnchorStyles.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClAnchorStyles() + public ClAnchorStyles() { _list = new List(); _list.Add(ValueFactory.Create(Bottom)); diff --git a/OneScriptForms/OneScriptForms/Appearance.cs b/OneScriptForms/OneScriptForms/Appearance.cs index 1b93e9a..d0e3e45 100644 --- a/OneScriptForms/OneScriptForms/Appearance.cs +++ b/OneScriptForms/OneScriptForms/Appearance.cs @@ -36,7 +36,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClAppearance() + public ClAppearance() { _list = new List(); _list.Add(ValueFactory.Create(Button)); diff --git a/OneScriptForms/OneScriptForms/BorderStyle.cs b/OneScriptForms/OneScriptForms/BorderStyle.cs index 14b9ff1..c00b473 100644 --- a/OneScriptForms/OneScriptForms/BorderStyle.cs +++ b/OneScriptForms/OneScriptForms/BorderStyle.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClBorderStyle() + public ClBorderStyle() { _list = new List(); _list.Add(ValueFactory.Create(Fixed3D)); diff --git a/OneScriptForms/OneScriptForms/CharacterCasing.cs b/OneScriptForms/OneScriptForms/CharacterCasing.cs index 2f08651..b637d38 100644 --- a/OneScriptForms/OneScriptForms/CharacterCasing.cs +++ b/OneScriptForms/OneScriptForms/CharacterCasing.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClCharacterCasing() + public ClCharacterCasing() { _list = new List(); _list.Add(ValueFactory.Create(Lower)); diff --git a/OneScriptForms/OneScriptForms/CheckState.cs b/OneScriptForms/OneScriptForms/CheckState.cs index eb64bab..1585ac8 100644 --- a/OneScriptForms/OneScriptForms/CheckState.cs +++ b/OneScriptForms/OneScriptForms/CheckState.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClCheckState() + public ClCheckState() { _list = new List(); _list.Add(ValueFactory.Create(Checked)); diff --git a/OneScriptForms/OneScriptForms/CloseReason.cs b/OneScriptForms/OneScriptForms/CloseReason.cs index 5dc089c..df035a8 100644 --- a/OneScriptForms/OneScriptForms/CloseReason.cs +++ b/OneScriptForms/OneScriptForms/CloseReason.cs @@ -41,7 +41,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClCloseReason() + public ClCloseReason() { _list = new List(); _list.Add(ValueFactory.Create(ApplicationExitCall)); diff --git a/OneScriptForms/OneScriptForms/ColorDepth.cs b/OneScriptForms/OneScriptForms/ColorDepth.cs index 36bada9..d1c8ddb 100644 --- a/OneScriptForms/OneScriptForms/ColorDepth.cs +++ b/OneScriptForms/OneScriptForms/ColorDepth.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClColorDepth() + public ClColorDepth() { _list = new List(); _list.Add(ValueFactory.Create(Depth16Bit)); diff --git a/OneScriptForms/OneScriptForms/ColumnHeaderStyle.cs b/OneScriptForms/OneScriptForms/ColumnHeaderStyle.cs index 501bbdf..eba5ef5 100644 --- a/OneScriptForms/OneScriptForms/ColumnHeaderStyle.cs +++ b/OneScriptForms/OneScriptForms/ColumnHeaderStyle.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClColumnHeaderStyle() + public ClColumnHeaderStyle() { _list = new List(); _list.Add(ValueFactory.Create(Clickable)); diff --git a/OneScriptForms/OneScriptForms/ComboBoxStyle.cs b/OneScriptForms/OneScriptForms/ComboBoxStyle.cs index 5e5f801..0449af9 100644 --- a/OneScriptForms/OneScriptForms/ComboBoxStyle.cs +++ b/OneScriptForms/OneScriptForms/ComboBoxStyle.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClComboBoxStyle() + public ClComboBoxStyle() { _list = new List(); _list.Add(ValueFactory.Create(DropDown)); diff --git a/OneScriptForms/OneScriptForms/ContentAlignment.cs b/OneScriptForms/OneScriptForms/ContentAlignment.cs index 536702a..54aac1c 100644 --- a/OneScriptForms/OneScriptForms/ContentAlignment.cs +++ b/OneScriptForms/OneScriptForms/ContentAlignment.cs @@ -43,7 +43,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClContentAlignment() + public ClContentAlignment() { _list = new List(); _list.Add(ValueFactory.Create(BottomCenter)); diff --git a/OneScriptForms/OneScriptForms/ControlStyles.cs b/OneScriptForms/OneScriptForms/ControlStyles.cs index 9bec14e..3aa6b90 100644 --- a/OneScriptForms/OneScriptForms/ControlStyles.cs +++ b/OneScriptForms/OneScriptForms/ControlStyles.cs @@ -50,7 +50,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClControlStyles() + public ClControlStyles() { _list = new List(); _list.Add(ValueFactory.Create(AllPaintingInWmPaint)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnMode.cs b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnMode.cs index 2fbfd40..f2f7eaa 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnMode.cs @@ -42,7 +42,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewAutoSizeColumnMode() + public ClDataGridViewAutoSizeColumnMode() { _list = new List(); _list.Add(ValueFactory.Create(AllCells)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnsMode.cs b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnsMode.cs index da82891..e0f1414 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnsMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeColumnsMode.cs @@ -41,7 +41,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewAutoSizeColumnsMode() + public ClDataGridViewAutoSizeColumnsMode() { _list = new List(); _list.Add(ValueFactory.Create(AllCells)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowMode.cs b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowMode.cs index b9d68ed..ab10331 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewAutoSizeRowMode() + public ClDataGridViewAutoSizeRowMode() { _list = new List(); _list.Add(ValueFactory.Create(AllCells)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowsMode.cs b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowsMode.cs index e60f718..0613c3a 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowsMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewAutoSizeRowsMode.cs @@ -41,7 +41,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewAutoSizeRowsMode() + public ClDataGridViewAutoSizeRowsMode() { _list = new List(); _list.Add(ValueFactory.Create(AllCells)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewColumnHeadersHeightSizeMode.cs b/OneScriptForms/OneScriptForms/DataGridViewColumnHeadersHeightSizeMode.cs index a49fc14..fd6b460 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewColumnHeadersHeightSizeMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewColumnHeadersHeightSizeMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewColumnHeadersHeightSizeMode() + public ClDataGridViewColumnHeadersHeightSizeMode() { _list = new List(); _list.Add(ValueFactory.Create(AutoSize)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewColumnSortMode.cs b/OneScriptForms/OneScriptForms/DataGridViewColumnSortMode.cs index 750cdfb..ff0c696 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewColumnSortMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewColumnSortMode.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewColumnSortMode() + public ClDataGridViewColumnSortMode() { _list = new List(); _list.Add(ValueFactory.Create(Automatic)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewComboBoxDisplayStyle.cs b/OneScriptForms/OneScriptForms/DataGridViewComboBoxDisplayStyle.cs index ff6bfac..cee09cd 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewComboBoxDisplayStyle.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewComboBoxDisplayStyle.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewComboBoxDisplayStyle() + public ClDataGridViewComboBoxDisplayStyle() { _list = new List(); _list.Add(ValueFactory.Create(ComboBox)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewContentAlignment.cs b/OneScriptForms/OneScriptForms/DataGridViewContentAlignment.cs index 60b4749..ae864c6 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewContentAlignment.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewContentAlignment.cs @@ -44,7 +44,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewContentAlignment() + public ClDataGridViewContentAlignment() { _list = new List(); _list.Add(ValueFactory.Create(BottomCenter)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewGrouperStyle.cs b/OneScriptForms/OneScriptForms/DataGridViewGrouperStyle.cs index 7a60ff3..2d467c4 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewGrouperStyle.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewGrouperStyle.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewGrouperStyle() + public ClDataGridViewGrouperStyle() { _list = new List(); _list.Add(ValueFactory.Create(FirstLetter)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewImageCellLayout.cs b/OneScriptForms/OneScriptForms/DataGridViewImageCellLayout.cs index 90a634a..56a09aa 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewImageCellLayout.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewImageCellLayout.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewImageCellLayout() + public ClDataGridViewImageCellLayout() { _list = new List(); _list.Add(ValueFactory.Create(Normal)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewRowHeadersWidthSizeMode.cs b/OneScriptForms/OneScriptForms/DataGridViewRowHeadersWidthSizeMode.cs index fbce928..301faa4 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewRowHeadersWidthSizeMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewRowHeadersWidthSizeMode.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewRowHeadersWidthSizeMode() + public ClDataGridViewRowHeadersWidthSizeMode() { _list = new List(); _list.Add(ValueFactory.Create(AutoSizeToAllHeaders)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewSelectionMode.cs b/OneScriptForms/OneScriptForms/DataGridViewSelectionMode.cs index 2c2786a..2e9fca4 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewSelectionMode.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewSelectionMode.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewSelectionMode() + public ClDataGridViewSelectionMode() { _list = new List(); _list.Add(ValueFactory.Create(CellSelect)); diff --git a/OneScriptForms/OneScriptForms/DataGridViewTriState.cs b/OneScriptForms/OneScriptForms/DataGridViewTriState.cs index 575d418..f4ff001 100644 --- a/OneScriptForms/OneScriptForms/DataGridViewTriState.cs +++ b/OneScriptForms/OneScriptForms/DataGridViewTriState.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataGridViewTriState() + public ClDataGridViewTriState() { _list = new List(); _list.Add(ValueFactory.Create(False)); diff --git a/OneScriptForms/OneScriptForms/DataRowState.cs b/OneScriptForms/OneScriptForms/DataRowState.cs index 979f5cc..b90ec14 100644 --- a/OneScriptForms/OneScriptForms/DataRowState.cs +++ b/OneScriptForms/OneScriptForms/DataRowState.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataRowState() + public ClDataRowState() { _list = new List(); _list.Add(ValueFactory.Create(Added)); diff --git a/OneScriptForms/OneScriptForms/DataType.cs b/OneScriptForms/OneScriptForms/DataType.cs index 24f6f5b..79ff19d 100644 --- a/OneScriptForms/OneScriptForms/DataType.cs +++ b/OneScriptForms/OneScriptForms/DataType.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDataType() + public ClDataType() { _list = new List(); _list.Add(ValueFactory.Create(Boolean)); diff --git a/OneScriptForms/OneScriptForms/Day.cs b/OneScriptForms/OneScriptForms/Day.cs index e9261a5..b4991e6 100644 --- a/OneScriptForms/OneScriptForms/Day.cs +++ b/OneScriptForms/OneScriptForms/Day.cs @@ -42,7 +42,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDay() + public ClDay() { _list = new List(); _list.Add(ValueFactory.Create(Default)); diff --git a/OneScriptForms/OneScriptForms/DialogResult.cs b/OneScriptForms/OneScriptForms/DialogResult.cs index 6a8fabc..b969916 100644 --- a/OneScriptForms/OneScriptForms/DialogResult.cs +++ b/OneScriptForms/OneScriptForms/DialogResult.cs @@ -42,7 +42,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDialogResult() + public ClDialogResult() { _list = new List(); _list.Add(ValueFactory.Create(Abort)); diff --git a/OneScriptForms/OneScriptForms/DockStyle.cs b/OneScriptForms/OneScriptForms/DockStyle.cs index a1c6634..a50e487 100644 --- a/OneScriptForms/OneScriptForms/DockStyle.cs +++ b/OneScriptForms/OneScriptForms/DockStyle.cs @@ -40,7 +40,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDockStyle() + public ClDockStyle() { _list = new List(); _list.Add(ValueFactory.Create(Bottom)); diff --git a/OneScriptForms/OneScriptForms/DrawMode.cs b/OneScriptForms/OneScriptForms/DrawMode.cs index 1559b83..01c71ba 100644 --- a/OneScriptForms/OneScriptForms/DrawMode.cs +++ b/OneScriptForms/OneScriptForms/DrawMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClDrawMode() + public ClDrawMode() { _list = new List(); _list.Add(ValueFactory.Create(Normal)); diff --git a/OneScriptForms/OneScriptForms/FlatStyle.cs b/OneScriptForms/OneScriptForms/FlatStyle.cs index 750f036..30bc987 100644 --- a/OneScriptForms/OneScriptForms/FlatStyle.cs +++ b/OneScriptForms/OneScriptForms/FlatStyle.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClFlatStyle() + public ClFlatStyle() { _list = new List(); _list.Add(ValueFactory.Create(Flat)); diff --git a/OneScriptForms/OneScriptForms/FontStyle.cs b/OneScriptForms/OneScriptForms/FontStyle.cs index c0dd54f..e67c69f 100644 --- a/OneScriptForms/OneScriptForms/FontStyle.cs +++ b/OneScriptForms/OneScriptForms/FontStyle.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClFontStyle() + public ClFontStyle() { _list = new List(); _list.Add(ValueFactory.Create(Bold)); diff --git a/OneScriptForms/OneScriptForms/FormBorderStyle.cs b/OneScriptForms/OneScriptForms/FormBorderStyle.cs index a8917c6..a9b4aab 100644 --- a/OneScriptForms/OneScriptForms/FormBorderStyle.cs +++ b/OneScriptForms/OneScriptForms/FormBorderStyle.cs @@ -41,7 +41,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClFormBorderStyle() + public ClFormBorderStyle() { _list = new List(); _list.Add(ValueFactory.Create(Fixed3D)); diff --git a/OneScriptForms/OneScriptForms/FormStartPosition.cs b/OneScriptForms/OneScriptForms/FormStartPosition.cs index d6ecc37..06590f4 100644 --- a/OneScriptForms/OneScriptForms/FormStartPosition.cs +++ b/OneScriptForms/OneScriptForms/FormStartPosition.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClFormStartPosition() + public ClFormStartPosition() { _list = new List(); _list.Add(ValueFactory.Create(CenterParent)); diff --git a/OneScriptForms/OneScriptForms/FormWindowState.cs b/OneScriptForms/OneScriptForms/FormWindowState.cs index 79efd68..8c4024b 100644 --- a/OneScriptForms/OneScriptForms/FormWindowState.cs +++ b/OneScriptForms/OneScriptForms/FormWindowState.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClFormWindowState() + public ClFormWindowState() { _list = new List(); _list.Add(ValueFactory.Create(Maximized)); diff --git a/OneScriptForms/OneScriptForms/FormatDateTimePicker.cs b/OneScriptForms/OneScriptForms/FormatDateTimePicker.cs index b9eecb3..8df2f52 100644 --- a/OneScriptForms/OneScriptForms/FormatDateTimePicker.cs +++ b/OneScriptForms/OneScriptForms/FormatDateTimePicker.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClFormatDateTimePicker() + public ClFormatDateTimePicker() { _list = new List(); _list.Add(ValueFactory.Create(Custom)); diff --git a/OneScriptForms/OneScriptForms/FormsCollection.cs b/OneScriptForms/OneScriptForms/FormsCollection.cs index 0edd333..156d25d 100644 --- a/OneScriptForms/OneScriptForms/FormsCollection.cs +++ b/OneScriptForms/OneScriptForms/FormsCollection.cs @@ -8,7 +8,7 @@ public class FormsCollection : AutoContext, ICollectionContext, { private List _list; - internal FormsCollection() + public FormsCollection() { _list = new List(); } diff --git a/OneScriptForms/OneScriptForms/GridItemType.cs b/OneScriptForms/OneScriptForms/GridItemType.cs index 9950a26..6a45337 100644 --- a/OneScriptForms/OneScriptForms/GridItemType.cs +++ b/OneScriptForms/OneScriptForms/GridItemType.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClGridItemType() + public ClGridItemType() { _list = new List(); _list.Add(ValueFactory.Create(ArrayValue)); diff --git a/OneScriptForms/OneScriptForms/GridLineStyle.cs b/OneScriptForms/OneScriptForms/GridLineStyle.cs index f9b1543..ad503c0 100644 --- a/OneScriptForms/OneScriptForms/GridLineStyle.cs +++ b/OneScriptForms/OneScriptForms/GridLineStyle.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClGridLineStyle() + public ClGridLineStyle() { _list = new List(); _list.Add(ValueFactory.Create(Horizontal)); diff --git a/OneScriptForms/OneScriptForms/HatchStyle.cs b/OneScriptForms/OneScriptForms/HatchStyle.cs index 70d7be5..c023ddb 100644 --- a/OneScriptForms/OneScriptForms/HatchStyle.cs +++ b/OneScriptForms/OneScriptForms/HatchStyle.cs @@ -90,7 +90,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClHatchStyle() + public ClHatchStyle() { _list = new List(); _list.Add(ValueFactory.Create(BackwardDiagonal)); diff --git a/OneScriptForms/OneScriptForms/HorizontalAlignment.cs b/OneScriptForms/OneScriptForms/HorizontalAlignment.cs index 1d03bf0..2ab0272 100644 --- a/OneScriptForms/OneScriptForms/HorizontalAlignment.cs +++ b/OneScriptForms/OneScriptForms/HorizontalAlignment.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClHorizontalAlignment() + public ClHorizontalAlignment() { _list = new List(); _list.Add(ValueFactory.Create(Center)); diff --git a/OneScriptForms/OneScriptForms/ImageLayout.cs b/OneScriptForms/OneScriptForms/ImageLayout.cs index 7758ea2..6d843cb 100644 --- a/OneScriptForms/OneScriptForms/ImageLayout.cs +++ b/OneScriptForms/OneScriptForms/ImageLayout.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClImageLayout() + public ClImageLayout() { _list = new List(); _list.Add(ValueFactory.Create(Center)); diff --git a/OneScriptForms/OneScriptForms/ImageScaleMode.cs b/OneScriptForms/OneScriptForms/ImageScaleMode.cs index 63fdda9..e1c22a3 100644 --- a/OneScriptForms/OneScriptForms/ImageScaleMode.cs +++ b/OneScriptForms/OneScriptForms/ImageScaleMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClImageScaleMode() + public ClImageScaleMode() { _list = new List(); _list.Add(ValueFactory.Create(AlwaysScale)); diff --git a/OneScriptForms/OneScriptForms/InsertKeyMode.cs b/OneScriptForms/OneScriptForms/InsertKeyMode.cs index f2d2a34..7df7ede 100644 --- a/OneScriptForms/OneScriptForms/InsertKeyMode.cs +++ b/OneScriptForms/OneScriptForms/InsertKeyMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClInsertKeyMode() + public ClInsertKeyMode() { _list = new List(); _list.Add(ValueFactory.Create(Default)); diff --git a/OneScriptForms/OneScriptForms/ItemActivation.cs b/OneScriptForms/OneScriptForms/ItemActivation.cs index 9275369..70542b6 100644 --- a/OneScriptForms/OneScriptForms/ItemActivation.cs +++ b/OneScriptForms/OneScriptForms/ItemActivation.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClItemActivation() + public ClItemActivation() { _list = new List(); _list.Add(ValueFactory.Create(OneClick)); diff --git a/OneScriptForms/OneScriptForms/Keys.cs b/OneScriptForms/OneScriptForms/Keys.cs index 4b89af5..ff8cb72 100644 --- a/OneScriptForms/OneScriptForms/Keys.cs +++ b/OneScriptForms/OneScriptForms/Keys.cs @@ -217,7 +217,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClKeys() + public ClKeys() { _list = new List(); _list.Add(ValueFactory.Create(A)); diff --git a/OneScriptForms/OneScriptForms/LeftRightAlignment.cs b/OneScriptForms/OneScriptForms/LeftRightAlignment.cs index 0a0312a..10afdba 100644 --- a/OneScriptForms/OneScriptForms/LeftRightAlignment.cs +++ b/OneScriptForms/OneScriptForms/LeftRightAlignment.cs @@ -36,7 +36,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClLeftRightAlignment() + public ClLeftRightAlignment() { _list = new List(); _list.Add(ValueFactory.Create(Left)); diff --git a/OneScriptForms/OneScriptForms/LinearGradientMode.cs b/OneScriptForms/OneScriptForms/LinearGradientMode.cs index 40c8afc..fd619ed 100644 --- a/OneScriptForms/OneScriptForms/LinearGradientMode.cs +++ b/OneScriptForms/OneScriptForms/LinearGradientMode.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClLinearGradientMode() + public ClLinearGradientMode() { _list = new List(); _list.Add(ValueFactory.Create(BackwardDiagonal)); diff --git a/OneScriptForms/OneScriptForms/LinkLabelLinkBehavior.cs b/OneScriptForms/OneScriptForms/LinkLabelLinkBehavior.cs index 4c93277..f66bba2 100644 --- a/OneScriptForms/OneScriptForms/LinkLabelLinkBehavior.cs +++ b/OneScriptForms/OneScriptForms/LinkLabelLinkBehavior.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClLinkLabelLinkBehavior() + public ClLinkLabelLinkBehavior() { _list = new List(); _list.Add(ValueFactory.Create(AlwaysUnderline)); diff --git a/OneScriptForms/OneScriptForms/ListViewAlignment.cs b/OneScriptForms/OneScriptForms/ListViewAlignment.cs index d35ba51..bc4ecca 100644 --- a/OneScriptForms/OneScriptForms/ListViewAlignment.cs +++ b/OneScriptForms/OneScriptForms/ListViewAlignment.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClListViewAlignment() + public ClListViewAlignment() { _list = new List(); _list.Add(ValueFactory.Create(Default)); diff --git a/OneScriptForms/OneScriptForms/MaskFormat.cs b/OneScriptForms/OneScriptForms/MaskFormat.cs index e31b95f..58df85e 100644 --- a/OneScriptForms/OneScriptForms/MaskFormat.cs +++ b/OneScriptForms/OneScriptForms/MaskFormat.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMaskFormat() + public ClMaskFormat() { _list = new List(); _list.Add(ValueFactory.Create(ExcludePromptAndLiterals)); diff --git a/OneScriptForms/OneScriptForms/MaskedTextResultHint.cs b/OneScriptForms/OneScriptForms/MaskedTextResultHint.cs index 22dd268..c20b823 100644 --- a/OneScriptForms/OneScriptForms/MaskedTextResultHint.cs +++ b/OneScriptForms/OneScriptForms/MaskedTextResultHint.cs @@ -48,7 +48,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMaskedTextResultHint() + public ClMaskedTextResultHint() { _list = new List(); _list.Add(ValueFactory.Create(AsciiCharacterExpected)); diff --git a/OneScriptForms/OneScriptForms/MenuMerge.cs b/OneScriptForms/OneScriptForms/MenuMerge.cs index 0a4e084..667fc48 100644 --- a/OneScriptForms/OneScriptForms/MenuMerge.cs +++ b/OneScriptForms/OneScriptForms/MenuMerge.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMenuMerge() + public ClMenuMerge() { _list = new List(); _list.Add(ValueFactory.Create(Add)); diff --git a/OneScriptForms/OneScriptForms/MessageBoxButtons.cs b/OneScriptForms/OneScriptForms/MessageBoxButtons.cs index 4ab6d9b..b174820 100644 --- a/OneScriptForms/OneScriptForms/MessageBoxButtons.cs +++ b/OneScriptForms/OneScriptForms/MessageBoxButtons.cs @@ -40,7 +40,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMessageBoxButtons() + public ClMessageBoxButtons() { _list = new List(); _list.Add(ValueFactory.Create(AbortRetryIgnore)); diff --git a/OneScriptForms/OneScriptForms/MessageBoxIcon.cs b/OneScriptForms/OneScriptForms/MessageBoxIcon.cs index 99495ff..4cf6051 100644 --- a/OneScriptForms/OneScriptForms/MessageBoxIcon.cs +++ b/OneScriptForms/OneScriptForms/MessageBoxIcon.cs @@ -43,7 +43,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMessageBoxIcon() + public ClMessageBoxIcon() { _list = new List(); _list.Add(ValueFactory.Create(Asterisk)); diff --git a/OneScriptForms/OneScriptForms/MouseButtons.cs b/OneScriptForms/OneScriptForms/MouseButtons.cs index fe5a06c..bb79cc6 100644 --- a/OneScriptForms/OneScriptForms/MouseButtons.cs +++ b/OneScriptForms/OneScriptForms/MouseButtons.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMouseButtons() + public ClMouseButtons() { _list = new List(); _list.Add(ValueFactory.Create(Left)); diff --git a/OneScriptForms/OneScriptForms/MouseFlags.cs b/OneScriptForms/OneScriptForms/MouseFlags.cs index 2a180dc..7b4865d 100644 --- a/OneScriptForms/OneScriptForms/MouseFlags.cs +++ b/OneScriptForms/OneScriptForms/MouseFlags.cs @@ -42,7 +42,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClMouseFlags() + public ClMouseFlags() { _list = new List(); _list.Add(ValueFactory.Create(Absolute)); diff --git a/OneScriptForms/OneScriptForms/NotifyFilters.cs b/OneScriptForms/OneScriptForms/NotifyFilters.cs index f2536f0..ec3f9ec 100644 --- a/OneScriptForms/OneScriptForms/NotifyFilters.cs +++ b/OneScriptForms/OneScriptForms/NotifyFilters.cs @@ -42,7 +42,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClNotifyFilters() + public ClNotifyFilters() { _list = new List(); _list.Add(ValueFactory.Create(Attributes)); diff --git a/OneScriptForms/OneScriptForms/NotifyIcon.cs b/OneScriptForms/OneScriptForms/NotifyIcon.cs index 1d3eced..442daed 100644 --- a/OneScriptForms/OneScriptForms/NotifyIcon.cs +++ b/OneScriptForms/OneScriptForms/NotifyIcon.cs @@ -1,4 +1,5 @@ -using ScriptEngine.Machine.Contexts; +using System; +using ScriptEngine.Machine.Contexts; using ScriptEngine.Machine; namespace osf @@ -46,6 +47,24 @@ public NotifyIcon(System.Windows.Forms.NotifyIcon p1) OneScriptForms.AddToHashtable(M_NotifyIcon, this); } + public int BalloonTipIcon + { + get { return (int)M_NotifyIcon.BalloonTipIcon; } + set { M_NotifyIcon.BalloonTipIcon = (System.Windows.Forms.ToolTipIcon)value; } + } + + public string BalloonTipText + { + get { return M_NotifyIcon.BalloonTipText; } + set { M_NotifyIcon.BalloonTipText = value; } + } + + public string BalloonTipTitle + { + get { return M_NotifyIcon.BalloonTipTitle; } + set { M_NotifyIcon.BalloonTipTitle = value; } + } + public osf.ContextMenu ContextMenu { get { return new ContextMenu(M_NotifyIcon.ContextMenu); } @@ -178,6 +197,16 @@ public void M_NotifyIcon_MouseUp(object sender, System.Windows.Forms.MouseEventA OneScriptForms.ExecuteEvent(dll_obj.MouseUp); } } + + public void ShowBalloonTip(int p1, string p2, string p3, int p4) + { + M_NotifyIcon.ShowBalloonTip(p1, p2, p3, (System.Windows.Forms.ToolTipIcon)p4); + } + + public void ShowBalloonTip(int p1) + { + M_NotifyIcon.ShowBalloonTip(p1); + } } [ContextClass ("КлЗначокУведомления", "ClNotifyIcon")] @@ -217,6 +246,13 @@ public IValue DoubleClick } } + [ContextProperty("ЗаголовокВсплывающейПодсказки", "BalloonTipTitle")] + public string BalloonTipTitle + { + get { return Base_obj.BalloonTipTitle; } + set { Base_obj.BalloonTipTitle = value; } + } + [ContextProperty("Значок", "Icon")] public ClIcon Icon { @@ -228,6 +264,13 @@ public ClIcon Icon } } + [ContextProperty("ЗначокВсплывающейПодсказки", "BalloonTipIcon")] + public int BalloonTipIcon + { + get { return (int)Base_obj.BalloonTipIcon; } + set { Base_obj.BalloonTipIcon = value; } + } + [ContextProperty("КонтекстноеМеню", "ContextMenu")] public ClContextMenu ContextMenu { @@ -325,6 +368,13 @@ public string Text set { Base_obj.Text = value; } } + [ContextProperty("ТекстВсплывающейПодсказки", "BalloonTipText")] + public string BalloonTipText + { + get { return Base_obj.BalloonTipText; } + set { Base_obj.BalloonTipText = value; } + } + [ContextProperty("Тип", "Type")] public ClType Type { @@ -336,5 +386,18 @@ public void Dispose() { Base_obj.Dispose(); } + + [ContextMethod("ПоказатьВсплывающуюПодсказку", "ShowBalloonTip")] + public void ShowBalloonTip(int p1, IValue p2 = null, IValue p3 = null, IValue p4 = null) + { + if (p2 != null && p3 != null && p4 != null) + { + Base_obj.ShowBalloonTip(p1, p2.AsString(), p3.AsString(), Convert.ToInt32(p4.AsNumber())); + } + else + { + Base_obj.ShowBalloonTip(p1); + } + } } } diff --git a/OneScriptForms/OneScriptForms/OneScriptForms.cs b/OneScriptForms/OneScriptForms/OneScriptForms.cs index 798a24a..0ebf4ff 100644 --- a/OneScriptForms/OneScriptForms/OneScriptForms.cs +++ b/OneScriptForms/OneScriptForms/OneScriptForms.cs @@ -97,6 +97,7 @@ public class OneScriptForms : AutoContext private static ClToolBarAppearance cl_ToolBarAppearance = new ClToolBarAppearance(); private static ClToolBarButtonStyle cl_ToolBarButtonStyle = new ClToolBarButtonStyle(); private static ClToolBarTextAlign cl_ToolBarTextAlign = new ClToolBarTextAlign(); + private static ClToolTipIcon cl_ToolTipIcon = new ClToolTipIcon(); private static ClTreeSelectionMode cl_TreeSelectionMode = new ClTreeSelectionMode(); private static ClTreeViewAction cl_TreeViewAction = new ClTreeViewAction(); private static ClVerticalAlign cl_VerticalAlign = new ClVerticalAlign(); @@ -317,6 +318,12 @@ public ClSounds Sounds get { return cl_Sounds; } } + [ContextProperty("ЗначокВсплывающейПодсказки", "ToolTipIcon")] + public ClToolTipIcon ToolTipIcon + { + get { return cl_ToolTipIcon; } + } + [ContextProperty("ЗначокОкнаСообщений", "MessageBoxIcon")] public ClMessageBoxIcon MessageBoxIcon { diff --git a/OneScriptForms/OneScriptForms/OneScriptForms.csproj b/OneScriptForms/OneScriptForms/OneScriptForms.csproj index 0a09cf5..f44d312 100644 --- a/OneScriptForms/OneScriptForms/OneScriptForms.csproj +++ b/OneScriptForms/OneScriptForms/OneScriptForms.csproj @@ -516,6 +516,7 @@ Component + Component diff --git a/OneScriptForms/OneScriptForms/PictureBoxSizeMode.cs b/OneScriptForms/OneScriptForms/PictureBoxSizeMode.cs index c227d30..eaf2ff6 100644 --- a/OneScriptForms/OneScriptForms/PictureBoxSizeMode.cs +++ b/OneScriptForms/OneScriptForms/PictureBoxSizeMode.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClPictureBoxSizeMode() + public ClPictureBoxSizeMode() { _list = new List(); _list.Add(ValueFactory.Create(AutoSize)); diff --git a/OneScriptForms/OneScriptForms/PixelFormat.cs b/OneScriptForms/OneScriptForms/PixelFormat.cs index 1878b91..741decf 100644 --- a/OneScriptForms/OneScriptForms/PixelFormat.cs +++ b/OneScriptForms/OneScriptForms/PixelFormat.cs @@ -57,7 +57,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClPixelFormat() + public ClPixelFormat() { _list = new List(); _list.Add(ValueFactory.Create(Alpha)); diff --git a/OneScriptForms/OneScriptForms/ProcessWindowStyle.cs b/OneScriptForms/OneScriptForms/ProcessWindowStyle.cs index 4b169ce..18429b0 100644 --- a/OneScriptForms/OneScriptForms/ProcessWindowStyle.cs +++ b/OneScriptForms/OneScriptForms/ProcessWindowStyle.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClProcessWindowStyle() + public ClProcessWindowStyle() { _list = new List(); _list.Add(ValueFactory.Create(Hidden)); diff --git a/OneScriptForms/OneScriptForms/ProgressShape.cs b/OneScriptForms/OneScriptForms/ProgressShape.cs index 9af8d07..273026d 100644 --- a/OneScriptForms/OneScriptForms/ProgressShape.cs +++ b/OneScriptForms/OneScriptForms/ProgressShape.cs @@ -36,7 +36,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClProgressShape() + public ClProgressShape() { _list = new List(); _list.Add(ValueFactory.Create(Flat)); diff --git a/OneScriptForms/OneScriptForms/Properties/AssemblyInfo.cs b/OneScriptForms/OneScriptForms/Properties/AssemblyInfo.cs index dda4259..a7c084e 100644 --- a/OneScriptForms/OneScriptForms/Properties/AssemblyInfo.cs +++ b/OneScriptForms/OneScriptForms/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Можно задать все значения или принять номера сборки и редакции по умолчанию // используя "*", как показано ниже: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.7.0.0")] -[assembly: AssemblyFileVersion("2.7.0.0")] +[assembly: AssemblyVersion("2.8.0.0")] +[assembly: AssemblyFileVersion("2.8.0.0")] diff --git a/OneScriptForms/OneScriptForms/PropertySort.cs b/OneScriptForms/OneScriptForms/PropertySort.cs index 92c625a..4461157 100644 --- a/OneScriptForms/OneScriptForms/PropertySort.cs +++ b/OneScriptForms/OneScriptForms/PropertySort.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClPropertySort() + public ClPropertySort() { _list = new List(); _list.Add(ValueFactory.Create(Alphabetical)); diff --git a/OneScriptForms/OneScriptForms/RichTextBoxFinds.cs b/OneScriptForms/OneScriptForms/RichTextBoxFinds.cs index 8899414..5e000bf 100644 --- a/OneScriptForms/OneScriptForms/RichTextBoxFinds.cs +++ b/OneScriptForms/OneScriptForms/RichTextBoxFinds.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClRichTextBoxFinds() + public ClRichTextBoxFinds() { _list = new List(); _list.Add(ValueFactory.Create(MatchCase)); diff --git a/OneScriptForms/OneScriptForms/RichTextBoxStreamType.cs b/OneScriptForms/OneScriptForms/RichTextBoxStreamType.cs index 38780aa..0cd23e0 100644 --- a/OneScriptForms/OneScriptForms/RichTextBoxStreamType.cs +++ b/OneScriptForms/OneScriptForms/RichTextBoxStreamType.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClRichTextBoxStreamType() + public ClRichTextBoxStreamType() { _list = new List(); _list.Add(ValueFactory.Create(PlainText)); diff --git a/OneScriptForms/OneScriptForms/ScrollBars.cs b/OneScriptForms/OneScriptForms/ScrollBars.cs index 8faa210..a5861ef 100644 --- a/OneScriptForms/OneScriptForms/ScrollBars.cs +++ b/OneScriptForms/OneScriptForms/ScrollBars.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClScrollBars() + public ClScrollBars() { _list = new List(); _list.Add(ValueFactory.Create(Both)); diff --git a/OneScriptForms/OneScriptForms/ScrollEventType.cs b/OneScriptForms/OneScriptForms/ScrollEventType.cs index d49dfe1..56faef2 100644 --- a/OneScriptForms/OneScriptForms/ScrollEventType.cs +++ b/OneScriptForms/OneScriptForms/ScrollEventType.cs @@ -43,7 +43,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClScrollEventType() + public ClScrollEventType() { _list = new List(); _list.Add(ValueFactory.Create(EndScroll)); diff --git a/OneScriptForms/OneScriptForms/ScrollOrientation.cs b/OneScriptForms/OneScriptForms/ScrollOrientation.cs index 5da561a..8a9fec6 100644 --- a/OneScriptForms/OneScriptForms/ScrollOrientation.cs +++ b/OneScriptForms/OneScriptForms/ScrollOrientation.cs @@ -36,7 +36,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClScrollOrientation() + public ClScrollOrientation() { _list = new List(); _list.Add(ValueFactory.Create(HorizontalScroll)); diff --git a/OneScriptForms/OneScriptForms/SeekOrigin.cs b/OneScriptForms/OneScriptForms/SeekOrigin.cs index 3fb863f..85f96ac 100644 --- a/OneScriptForms/OneScriptForms/SeekOrigin.cs +++ b/OneScriptForms/OneScriptForms/SeekOrigin.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClSeekOrigin() + public ClSeekOrigin() { _list = new List(); _list.Add(ValueFactory.Create(Begin)); diff --git a/OneScriptForms/OneScriptForms/SelectionMode.cs b/OneScriptForms/OneScriptForms/SelectionMode.cs index 7d94840..a61e7db 100644 --- a/OneScriptForms/OneScriptForms/SelectionMode.cs +++ b/OneScriptForms/OneScriptForms/SelectionMode.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClSelectionMode() + public ClSelectionMode() { _list = new List(); _list.Add(ValueFactory.Create(MultiExtended)); diff --git a/OneScriptForms/OneScriptForms/Shortcut.cs b/OneScriptForms/OneScriptForms/Shortcut.cs index 32845a6..dee7bf3 100644 --- a/OneScriptForms/OneScriptForms/Shortcut.cs +++ b/OneScriptForms/OneScriptForms/Shortcut.cs @@ -184,7 +184,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClShortcut() + public ClShortcut() { _list = new List(); _list.Add(ValueFactory.Create(Alt0)); diff --git a/OneScriptForms/OneScriptForms/SortOrder.cs b/OneScriptForms/OneScriptForms/SortOrder.cs index dd8061d..d98b6e0 100644 --- a/OneScriptForms/OneScriptForms/SortOrder.cs +++ b/OneScriptForms/OneScriptForms/SortOrder.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClSortOrder() + public ClSortOrder() { _list = new List(); _list.Add(ValueFactory.Create(Ascending)); diff --git a/OneScriptForms/OneScriptForms/SortType.cs b/OneScriptForms/OneScriptForms/SortType.cs index 4b05f9d..dd6c367 100644 --- a/OneScriptForms/OneScriptForms/SortType.cs +++ b/OneScriptForms/OneScriptForms/SortType.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClSortType() + public ClSortType() { _list = new List(); _list.Add(ValueFactory.Create(Boolean)); diff --git a/OneScriptForms/OneScriptForms/Sounds.cs b/OneScriptForms/OneScriptForms/Sounds.cs index c5baf6c..2f8738e 100644 --- a/OneScriptForms/OneScriptForms/Sounds.cs +++ b/OneScriptForms/OneScriptForms/Sounds.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClSounds() + public ClSounds() { _list = new List(); _list.Add(ValueFactory.Create(Asterisk)); diff --git a/OneScriptForms/OneScriptForms/SpecialFolder.cs b/OneScriptForms/OneScriptForms/SpecialFolder.cs index 32851bd..6d5073b 100644 --- a/OneScriptForms/OneScriptForms/SpecialFolder.cs +++ b/OneScriptForms/OneScriptForms/SpecialFolder.cs @@ -56,7 +56,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClSpecialFolder() + public ClSpecialFolder() { _list = new List(); _list.Add(ValueFactory.Create(ApplicationData)); diff --git a/OneScriptForms/OneScriptForms/StatusBarPanelAutoSize.cs b/OneScriptForms/OneScriptForms/StatusBarPanelAutoSize.cs index 61fa1d8..3947424 100644 --- a/OneScriptForms/OneScriptForms/StatusBarPanelAutoSize.cs +++ b/OneScriptForms/OneScriptForms/StatusBarPanelAutoSize.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClStatusBarPanelAutoSize() + public ClStatusBarPanelAutoSize() { _list = new List(); _list.Add(ValueFactory.Create(Contents)); diff --git a/OneScriptForms/OneScriptForms/StatusBarPanelBorderStyle.cs b/OneScriptForms/OneScriptForms/StatusBarPanelBorderStyle.cs index f11e65e..0d2836c 100644 --- a/OneScriptForms/OneScriptForms/StatusBarPanelBorderStyle.cs +++ b/OneScriptForms/OneScriptForms/StatusBarPanelBorderStyle.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClStatusBarPanelBorderStyle() + public ClStatusBarPanelBorderStyle() { _list = new List(); _list.Add(ValueFactory.Create(None)); diff --git a/OneScriptForms/OneScriptForms/StringTrimming.cs b/OneScriptForms/OneScriptForms/StringTrimming.cs index e16198f..cccba6e 100644 --- a/OneScriptForms/OneScriptForms/StringTrimming.cs +++ b/OneScriptForms/OneScriptForms/StringTrimming.cs @@ -40,7 +40,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClStringTrimming() + public ClStringTrimming() { _list = new List(); _list.Add(ValueFactory.Create(Character)); diff --git a/OneScriptForms/OneScriptForms/TabAlignment.cs b/OneScriptForms/OneScriptForms/TabAlignment.cs index 5f39a27..c43f4cd 100644 --- a/OneScriptForms/OneScriptForms/TabAlignment.cs +++ b/OneScriptForms/OneScriptForms/TabAlignment.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClTabAlignment() + public ClTabAlignment() { _list = new List(); _list.Add(ValueFactory.Create(Bottom)); diff --git a/OneScriptForms/OneScriptForms/TabAppearance.cs b/OneScriptForms/OneScriptForms/TabAppearance.cs index 01ec1ae..cc5e206 100644 --- a/OneScriptForms/OneScriptForms/TabAppearance.cs +++ b/OneScriptForms/OneScriptForms/TabAppearance.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClTabAppearance() + public ClTabAppearance() { _list = new List(); _list.Add(ValueFactory.Create(Buttons)); diff --git a/OneScriptForms/OneScriptForms/TabSizeMode.cs b/OneScriptForms/OneScriptForms/TabSizeMode.cs index b8c48e7..29f05c5 100644 --- a/OneScriptForms/OneScriptForms/TabSizeMode.cs +++ b/OneScriptForms/OneScriptForms/TabSizeMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClTabSizeMode() + public ClTabSizeMode() { _list = new List(); _list.Add(ValueFactory.Create(FillToRight)); diff --git a/OneScriptForms/OneScriptForms/TextMode.cs b/OneScriptForms/OneScriptForms/TextMode.cs index f720803..2f51b5d 100644 --- a/OneScriptForms/OneScriptForms/TextMode.cs +++ b/OneScriptForms/OneScriptForms/TextMode.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClTextMode() + public ClTextMode() { _list = new List(); _list.Add(ValueFactory.Create(Custom)); diff --git a/OneScriptForms/OneScriptForms/ToolBarAppearance.cs b/OneScriptForms/OneScriptForms/ToolBarAppearance.cs index f7d0c3c..329c2a7 100644 --- a/OneScriptForms/OneScriptForms/ToolBarAppearance.cs +++ b/OneScriptForms/OneScriptForms/ToolBarAppearance.cs @@ -36,7 +36,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClToolBarAppearance() + public ClToolBarAppearance() { _list = new List(); _list.Add(ValueFactory.Create(Flat)); diff --git a/OneScriptForms/OneScriptForms/ToolBarButtonStyle.cs b/OneScriptForms/OneScriptForms/ToolBarButtonStyle.cs index 10debad..6c04565 100644 --- a/OneScriptForms/OneScriptForms/ToolBarButtonStyle.cs +++ b/OneScriptForms/OneScriptForms/ToolBarButtonStyle.cs @@ -38,7 +38,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClToolBarButtonStyle() + public ClToolBarButtonStyle() { _list = new List(); _list.Add(ValueFactory.Create(DropDownButton)); diff --git a/OneScriptForms/OneScriptForms/ToolBarTextAlign.cs b/OneScriptForms/OneScriptForms/ToolBarTextAlign.cs index f81e86e..c2ca6c1 100644 --- a/OneScriptForms/OneScriptForms/ToolBarTextAlign.cs +++ b/OneScriptForms/OneScriptForms/ToolBarTextAlign.cs @@ -36,7 +36,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClToolBarTextAlign() + public ClToolBarTextAlign() { _list = new List(); _list.Add(ValueFactory.Create(Right)); diff --git a/OneScriptForms/OneScriptForms/ToolTipIcon.cs b/OneScriptForms/OneScriptForms/ToolTipIcon.cs new file mode 100644 index 0000000..110f4bc --- /dev/null +++ b/OneScriptForms/OneScriptForms/ToolTipIcon.cs @@ -0,0 +1,74 @@ +using ScriptEngine.Machine.Contexts; +using ScriptEngine.Machine; +using System.Collections; +using System.Collections.Generic; + +namespace osf +{ + [ContextClass ("КлЗначокВсплывающейПодсказки", "ClToolTipIcon")] + public class ClToolTipIcon : AutoContext, ICollectionContext, IEnumerable + { + private int m_none = (int)System.Windows.Forms.ToolTipIcon.None; // 0 Нестандартный значок. + private int m_info = (int)System.Windows.Forms.ToolTipIcon.Info; // 1 Значок сведений. + private int m_warning = (int)System.Windows.Forms.ToolTipIcon.Warning; // 2 Значок предупреждения. + private int m_error = (int)System.Windows.Forms.ToolTipIcon.Error; // 3 Значок ошибки. + + private List _list; + + public int Count() + { + return _list.Count; + } + + public CollectionEnumerator GetManagedIterator() + { + return new CollectionEnumerator(this); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return ((IEnumerable)_list).GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + foreach (var item in _list) + { + yield return (item as IValue); + } + } + + public ClToolTipIcon() + { + _list = new List(); + _list.Add(ValueFactory.Create(Error)); + _list.Add(ValueFactory.Create(Info)); + _list.Add(ValueFactory.Create(None)); + _list.Add(ValueFactory.Create(Warning)); + } + + [ContextProperty("Информация", "Info")] + public int Info + { + get { return m_info; } + } + + [ContextProperty("Отсутствие", "None")] + public int None + { + get { return m_none; } + } + + [ContextProperty("Ошибка", "Error")] + public int Error + { + get { return m_error; } + } + + [ContextProperty("Предупреждение", "Warning")] + public int Warning + { + get { return m_warning; } + } + } +} diff --git a/OneScriptForms/OneScriptForms/TreeSelectionMode.cs b/OneScriptForms/OneScriptForms/TreeSelectionMode.cs index 4c0a634..68661ae 100644 --- a/OneScriptForms/OneScriptForms/TreeSelectionMode.cs +++ b/OneScriptForms/OneScriptForms/TreeSelectionMode.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClTreeSelectionMode() + public ClTreeSelectionMode() { _list = new List(); _list.Add(ValueFactory.Create(Multi)); diff --git a/OneScriptForms/OneScriptForms/TreeViewAction.cs b/OneScriptForms/OneScriptForms/TreeViewAction.cs index c886fe3..e1ea33f 100644 --- a/OneScriptForms/OneScriptForms/TreeViewAction.cs +++ b/OneScriptForms/OneScriptForms/TreeViewAction.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClTreeViewAction() + public ClTreeViewAction() { _list = new List(); _list.Add(ValueFactory.Create(ByKeyboard)); diff --git a/OneScriptForms/OneScriptForms/TreeViewAdvSupport.cs b/OneScriptForms/OneScriptForms/TreeViewAdvSupport.cs index ad61e52..56595c5 100644 --- a/OneScriptForms/OneScriptForms/TreeViewAdvSupport.cs +++ b/OneScriptForms/OneScriptForms/TreeViewAdvSupport.cs @@ -4333,25 +4333,25 @@ public class TreeNodeAdvMouseEventArgs : MouseEventArgs public TreeNodeAdv Node { get { return _node; } - internal set { _node = value; } + set { _node = value; } } public NodeControl Control { get { return _control; } - internal set { _control = value; } + set { _control = value; } } public Point ViewLocation { get { return _viewLocation; } - internal set { _viewLocation = value; } + set { _viewLocation = value; } } public Keys ModifierKeys { get { return _modifierKeys; } - internal set { _modifierKeys = value; } + set { _modifierKeys = value; } } public bool Handled @@ -4363,7 +4363,7 @@ public bool Handled public Rectangle ControlBounds { get { return _controlBounds; } - internal set { _controlBounds = value; } + set { _controlBounds = value; } } public TreeNodeAdvMouseEventArgs(MouseEventArgs args) : base(args.Button, args.Clicks, args.X, args.Y, args.Delta) diff --git a/OneScriptForms/OneScriptForms/VerticalAlign.cs b/OneScriptForms/OneScriptForms/VerticalAlign.cs index 0af62c6..54d43a8 100644 --- a/OneScriptForms/OneScriptForms/VerticalAlign.cs +++ b/OneScriptForms/OneScriptForms/VerticalAlign.cs @@ -37,7 +37,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClVerticalAlign() + public ClVerticalAlign() { _list = new List(); _list.Add(ValueFactory.Create(Bottom)); diff --git a/OneScriptForms/OneScriptForms/View.cs b/OneScriptForms/OneScriptForms/View.cs index 12ff882..c24f776 100644 --- a/OneScriptForms/OneScriptForms/View.cs +++ b/OneScriptForms/OneScriptForms/View.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClView() + public ClView() { _list = new List(); _list.Add(ValueFactory.Create(Details)); diff --git a/OneScriptForms/OneScriptForms/WatcherChangeTypes.cs b/OneScriptForms/OneScriptForms/WatcherChangeTypes.cs index c43dddb..88ee98b 100644 --- a/OneScriptForms/OneScriptForms/WatcherChangeTypes.cs +++ b/OneScriptForms/OneScriptForms/WatcherChangeTypes.cs @@ -39,7 +39,7 @@ IEnumerator IEnumerable.GetEnumerator() } } - internal ClWatcherChangeTypes() + public ClWatcherChangeTypes() { _list = new List(); _list.Add(ValueFactory.Create(All));