From 3513d245ce167c7ebaaf9b733995d94195d39e4f Mon Sep 17 00:00:00 2001 From: Vladimir Aleshechkin Date: Wed, 23 Oct 2024 20:31:02 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=BB=D0=B8=D0=B7=202.8.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OneScriptForms/OneScriptForms/AnchorStyles.cs | 2 +- OneScriptForms/OneScriptForms/Appearance.cs | 2 +- OneScriptForms/OneScriptForms/BorderStyle.cs | 2 +- .../OneScriptForms/CharacterCasing.cs | 2 +- OneScriptForms/OneScriptForms/CheckState.cs | 2 +- OneScriptForms/OneScriptForms/CloseReason.cs | 2 +- OneScriptForms/OneScriptForms/ColorDepth.cs | 2 +- .../OneScriptForms/ColumnHeaderStyle.cs | 2 +- .../OneScriptForms/ComboBoxStyle.cs | 2 +- .../OneScriptForms/ContentAlignment.cs | 2 +- .../OneScriptForms/ControlStyles.cs | 2 +- .../DataGridViewAutoSizeColumnMode.cs | 2 +- .../DataGridViewAutoSizeColumnsMode.cs | 2 +- .../DataGridViewAutoSizeRowMode.cs | 2 +- .../DataGridViewAutoSizeRowsMode.cs | 2 +- ...DataGridViewColumnHeadersHeightSizeMode.cs | 2 +- .../DataGridViewColumnSortMode.cs | 2 +- .../DataGridViewComboBoxDisplayStyle.cs | 2 +- .../DataGridViewContentAlignment.cs | 2 +- .../DataGridViewGrouperStyle.cs | 2 +- .../DataGridViewImageCellLayout.cs | 2 +- .../DataGridViewRowHeadersWidthSizeMode.cs | 2 +- .../DataGridViewSelectionMode.cs | 2 +- .../OneScriptForms/DataGridViewTriState.cs | 2 +- OneScriptForms/OneScriptForms/DataRowState.cs | 2 +- OneScriptForms/OneScriptForms/DataType.cs | 2 +- OneScriptForms/OneScriptForms/Day.cs | 2 +- OneScriptForms/OneScriptForms/DialogResult.cs | 2 +- OneScriptForms/OneScriptForms/DockStyle.cs | 2 +- OneScriptForms/OneScriptForms/DrawMode.cs | 2 +- OneScriptForms/OneScriptForms/FlatStyle.cs | 2 +- OneScriptForms/OneScriptForms/FontStyle.cs | 2 +- .../OneScriptForms/FormBorderStyle.cs | 2 +- .../OneScriptForms/FormStartPosition.cs | 2 +- .../OneScriptForms/FormWindowState.cs | 2 +- .../OneScriptForms/FormatDateTimePicker.cs | 2 +- .../OneScriptForms/FormsCollection.cs | 2 +- OneScriptForms/OneScriptForms/GridItemType.cs | 2 +- .../OneScriptForms/GridLineStyle.cs | 2 +- OneScriptForms/OneScriptForms/HatchStyle.cs | 2 +- .../OneScriptForms/HorizontalAlignment.cs | 2 +- OneScriptForms/OneScriptForms/ImageLayout.cs | 2 +- .../OneScriptForms/ImageScaleMode.cs | 2 +- .../OneScriptForms/InsertKeyMode.cs | 2 +- .../OneScriptForms/ItemActivation.cs | 2 +- OneScriptForms/OneScriptForms/Keys.cs | 2 +- .../OneScriptForms/LeftRightAlignment.cs | 2 +- .../OneScriptForms/LinearGradientMode.cs | 2 +- .../OneScriptForms/LinkLabelLinkBehavior.cs | 2 +- .../OneScriptForms/ListViewAlignment.cs | 2 +- OneScriptForms/OneScriptForms/MaskFormat.cs | 2 +- .../OneScriptForms/MaskedTextResultHint.cs | 2 +- OneScriptForms/OneScriptForms/MenuMerge.cs | 2 +- .../OneScriptForms/MessageBoxButtons.cs | 2 +- .../OneScriptForms/MessageBoxIcon.cs | 2 +- OneScriptForms/OneScriptForms/MouseButtons.cs | 2 +- OneScriptForms/OneScriptForms/MouseFlags.cs | 2 +- .../OneScriptForms/NotifyFilters.cs | 2 +- OneScriptForms/OneScriptForms/NotifyIcon.cs | 65 +++++++++++++++- .../OneScriptForms/OneScriptForms.cs | 7 ++ .../OneScriptForms/OneScriptForms.csproj | 1 + .../OneScriptForms/PictureBoxSizeMode.cs | 2 +- OneScriptForms/OneScriptForms/PixelFormat.cs | 2 +- .../OneScriptForms/ProcessWindowStyle.cs | 2 +- .../OneScriptForms/ProgressShape.cs | 2 +- .../OneScriptForms/Properties/AssemblyInfo.cs | 4 +- OneScriptForms/OneScriptForms/PropertySort.cs | 2 +- .../OneScriptForms/RichTextBoxFinds.cs | 2 +- .../OneScriptForms/RichTextBoxStreamType.cs | 2 +- OneScriptForms/OneScriptForms/ScrollBars.cs | 2 +- .../OneScriptForms/ScrollEventType.cs | 2 +- .../OneScriptForms/ScrollOrientation.cs | 2 +- OneScriptForms/OneScriptForms/SeekOrigin.cs | 2 +- .../OneScriptForms/SelectionMode.cs | 2 +- OneScriptForms/OneScriptForms/Shortcut.cs | 2 +- OneScriptForms/OneScriptForms/SortOrder.cs | 2 +- OneScriptForms/OneScriptForms/SortType.cs | 2 +- OneScriptForms/OneScriptForms/Sounds.cs | 2 +- .../OneScriptForms/SpecialFolder.cs | 2 +- .../OneScriptForms/StatusBarPanelAutoSize.cs | 2 +- .../StatusBarPanelBorderStyle.cs | 2 +- .../OneScriptForms/StringTrimming.cs | 2 +- OneScriptForms/OneScriptForms/TabAlignment.cs | 2 +- .../OneScriptForms/TabAppearance.cs | 2 +- OneScriptForms/OneScriptForms/TabSizeMode.cs | 2 +- OneScriptForms/OneScriptForms/TextMode.cs | 2 +- .../OneScriptForms/ToolBarAppearance.cs | 2 +- .../OneScriptForms/ToolBarButtonStyle.cs | 2 +- .../OneScriptForms/ToolBarTextAlign.cs | 2 +- OneScriptForms/OneScriptForms/ToolTipIcon.cs | 74 +++++++++++++++++++ .../OneScriptForms/TreeSelectionMode.cs | 2 +- .../OneScriptForms/TreeViewAction.cs | 2 +- .../OneScriptForms/TreeViewAdvSupport.cs | 10 +-- .../OneScriptForms/VerticalAlign.cs | 2 +- OneScriptForms/OneScriptForms/View.cs | 2 +- .../OneScriptForms/WatcherChangeTypes.cs | 2 +- 96 files changed, 243 insertions(+), 98 deletions(-) create mode 100644 OneScriptForms/OneScriptForms/ToolTipIcon.cs diff --git a/OneScriptForms/OneScriptForms/AnchorStyles.cs b/OneScriptForms/OneScriptForms/AnchorStyles.cs index 66234a2d..56df0547 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 1b93e9aa..d0e3e458 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 14b9ff13..c00b4738 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 2f086519..b637d38c 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 eb64baba..1585ac87 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 5dc089c4..df035a8e 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 36bada93..d1c8ddbb 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 501bbdf9..eba5ef53 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 5e5f8019..0449af98 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 536702a6..54aac1c7 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 9bec14ed..3aa6b904 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 2fbfd409..f2f7eaaf 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 da828910..e0f1414b 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 b9d68ed0..ab103318 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 e60f718d..0613c3a0 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 a49fc144..fd6b4608 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 750cdfbd..ff0c6969 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 ff6bface..cee09cda 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 60b4749c..ae864c64 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 7a60ff3b..2d467c46 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 90a634af..56a09aaa 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 fbce9285..301faa4e 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 2c2786a2..2e9fca43 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 575d4186..f4ff0016 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 979f5cca..b90ec146 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 24f6f5b6..79ff19d3 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 e9261a52..b4991e64 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 6a8fabcb..b9699167 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 a1c6634f..a50e487c 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 1559b83d..01c71baf 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 750f0362..30bc9875 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 c0dd54ff..e67c69f7 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 a8917c62..a9b4aabb 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 d6ecc375..06590f4d 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 79efd683..8c4024b4 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 b9eecb30..8df2f52f 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 0edd3334..156d25dc 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 9950a26d..6a453374 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 f9b15431..ad503c0f 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 70d7be59..c023ddb1 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 1d03bf0e..2ab02728 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 7758ea2a..6d843cbf 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 63fdda92..e1c22a30 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 f2d2a34f..7df7ede2 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 92753690..70542b6f 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 4b89af54..ff8cb727 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 0a0312a6..10afdba6 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 40c8afc1..fd619ed7 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 4c932777..f66bba2a 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 d35ba512..bc4ecca0 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 e31b95f6..58df85eb 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 22dd2689..c20b8237 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 0a4e084e..667fc481 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 4ab6d9b9..b1748205 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 99495ff4..4cf60514 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 fe5a06ca..bb79cc62 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 2a180dce..7b4865d7 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 f2536f0a..ec3f9ecb 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 1d3eced0..442daede 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 798a24a2..0ebf4ffd 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 0a09cf55..f44d312b 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 c227d305..eaf2ff61 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 1878b919..741decfd 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 4b169ce9..18429b09 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 9af8d07b..273026d7 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 dda4259e..a7c084e5 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 92c625ac..44611574 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 8899414a..5e000bf7 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 38780aab..0cd23e0f 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 8faa2105..a5861ef7 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 d49dfe10..56faef28 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 5da561ab..8a9fec6d 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 3fb863f9..85f96ac9 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 7d948404..a61e7dbb 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 32845a64..dee7bf32 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 dd8061d2..d98b6e0e 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 4b05f9db..dd6c3678 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 c5baf6c4..2f8738e5 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 32851bd7..6d5073bc 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 61fa1d84..39474245 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 f11e65e6..0d2836c4 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 e16198fa..cccba6e6 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 5f39a270..c43f4cd7 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 01ec1ae8..cc5e206e 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 b8c48e7b..29f05c5d 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 f7208030..2f51b5d0 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 f7d0c3c7..329c2a70 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 10debad3..6c04565e 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 f81e86e5..c2ca6c12 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 00000000..110f4bc7 --- /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 4c0a634d..68661aec 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 c886fe30..e1ea33f3 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 ad61e52e..56595c5b 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 0af62c6e..54d43a8d 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 12ff882a..c24f7768 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 c43dddbe..88ee98ba 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));