### 2021-12-14更新

------
#### MyDbV4    V3.0.2112.1401
- *.[修复]修复MSSQL的ExecuteNonQuery函数可能因为报错导致软件崩溃的BUG。
This commit is contained in:
鑫Intel 2021-12-14 09:37:52 +08:00
parent 9586656c96
commit 5d65c76f05
71 changed files with 6971 additions and 234 deletions

View File

@ -0,0 +1,3 @@
<script>
alert("1112");
</script>

View File

@ -2101,6 +2101,20 @@
<param name="path"></param>
<param name="type"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Bitmap,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Image,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.GetRealPath(System.String)">
<summary>
获取绝对路径
@ -8169,6 +8183,17 @@
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor(System.Int32)">
<summary>
</summary>
<param name="Timeout">超时时间</param>
</member>
<member name="M:RyWeb.QuickWeb.Post(System.String,System.String,System.String)">
<summary>
以post方式获取网页源码
@ -8228,6 +8253,11 @@
<param name="errormsg"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.ProxyIp">
<summary>
代理
</summary>
</member>
<member name="P:RyWeb.QuickWeb.UserAgent">
<summary>
@ -9292,11 +9322,31 @@
Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrl">
<summary>
Alt+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.Shift">
<summary>
Shift键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndShift">
<summary>
Shift+Alt键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.CtrlAndShift">
<summary>
Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrlAndShift">
<summary>
Alt+Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.WindowsKey">
<summary>
Win键
@ -9328,6 +9378,50 @@
释放热键
</summary>
</member>
<member name="M:SysFuns.WinHotReg.GetTag(System.Int32)">
<summary>
获取热键Tag
</summary>
<param name="HotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(System.String)">
<summary>
获取热键id
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
获取热键id
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.Int32)">
<summary>
判断热键id是否存在
</summary>
<param name="hotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.String)">
<summary>
判断热键Tag是否存在
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
判断热键是否存在
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
注册热键
@ -9346,6 +9440,16 @@
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,System.String,System.Int32,System.Windows.Forms.Keys)">
<summary>
注册热键
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="P:SysFuns.WinHotReg.Count">
<summary>
获取热键数量
@ -9396,6 +9500,11 @@
热键id
</summary>
</member>
<member name="F:SysFuns.HotKeyType.Tag">
<summary>
热键Tag
</summary>
</member>
<member name="F:SysFuns.HotKeyType.fsModifiers">
<summary>
功能键
@ -9414,6 +9523,20 @@
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor(System.Int32,System.String,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
热键类型
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor">
<summary>
热键类型
</summary>
</member>
<member name="T:WinAPI.Kernel32">
<summary>

View File

@ -1,2 +1,2 @@
[Money_Op]
hwnd=2298254
hwnd=2827616

View File

@ -1,4 +1,4 @@
<root>
<list id="LastUpdateTime" Value="2021/10/1 11:25:54" />
<list id="LastUpdateTime" Value="2021/12/2 15:25:42" />
<list id="UpdateAfterTime" Value="0" />
</root>

View File

@ -4,6 +4,830 @@
<name>ryControls</name>
</assembly>
<members>
<member name="T:PresentationControls.CheckBoxComboBox">
<summary>
Martin Lottering : 2007-10-27
--------------------------------
This is a usefull control in Filters. Allows you to save space and can replace a Grouped Box of CheckBoxes.
Currently used on the TasksFilter for TaskStatusses, which means the user can select which Statusses to include
in the "Search".
This control does not implement a CheckBoxListBox, instead it adds a wrapper for the normal ComboBox and Items.
See the CheckBoxItems property.
----------------
ALSO IMPORTANT: In Data Binding when setting the DataSource. The ValueMember must be a bool type property, because it will
be binded to the Checked property of the displayed CheckBox. Also see the DisplayMemberSingleItem for more information.
----------------
Extends the CodeProject PopupComboBox "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp"
by Lukasz Swiatkowski.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.#ctor">
<summary>
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._CheckBoxComboBoxListControl">
<summary>
The checkbox list control. The public CheckBoxItems property provides a direct reference to its Items.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation and its formatting however is controlled
by the Binded object, since it owns that property.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.GetCSVText(System.Boolean)">
<summary>
Builds a CSV string of the items selected.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxItems">
<summary>
A direct reference to the Items of CheckBoxComboBoxListControl.
You can use it to Get or Set the Checked status of items manually if you want.
But do not manipulate the List itself directly, e.g. Adding and Removing,
since the list is synchronised when shown with the ComboBox.Items. So for changing
the list contents, use Items instead.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DataSource">
<summary>
The DataSource of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.ValueMember">
<summary>
The ValueMember of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation however is controlled by the Binded
object, since it owns that property.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.Items">
<summary>
Made this property Browsable again, since the Base Popup hides it. This class uses it again.
Gets an object representing the collection of the items contained in this
System.Windows.Forms.ComboBox.
</summary>
<returns>A System.Windows.Forms.ComboBox.ObjectCollection representing the items in
the System.Windows.Forms.ComboBox.
</returns>
</member>
<member name="E:PresentationControls.CheckBoxComboBox.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnDropDownStyleChanged(System.EventArgs)">
<summary>
Will add an invisible item when the style is DropDownList,
to help maintain the correct text in main TextBox.
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnResize(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Clear">
<summary>
A function to clear/reset the list.
(Ubiklou : http://www.codeproject.com/KB/combobox/extending_combobox.aspx?msg=2526813#xx2526813xx)
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.ClearSelection">
<summary>
Uncheck all items.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxProperties">
<summary>
The properties that will be assigned to the checkboxes as default values.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
</summary>
<param name="m"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControlContainer">
<summary>
A container control for the ListControl to ensure the ScrollBar on the ListControl does not
Paint over the Size grip. Setting the Padding or Margin on the Popup or host control does
not work as I expected.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.#ctor">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup class to ensure Resize operations work correctly.
</summary>
<param name="m"></param>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControl">
<summary>
This ListControl that pops up to the User. It contains the CheckBoxComboBoxItems.
The items are docked DockStyle.Top in this control.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="owner"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._CheckBoxComboBox">
<summary>
Simply a reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._Items">
<summary>
A Typed list of ComboBoxCheckBoxItems.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxListControl.Items">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup control to enable Resize operations.
</summary>
<param name="m"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.SynchroniseControlsWithComboBoxItems">
<summary>
Maintains the controls displayed in the list by keeping them in sync with the actual
items in the combobox. (e.g. removing and adding as well as ordering)
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItem">
<summary>
The CheckBox items displayed in the Popup of the ComboBox.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.#ctor(PresentationControls.CheckBoxComboBox,System.Object)">
<summary>
</summary>
<param name="owner">A reference to the CheckBoxComboBox.</param>
<param name="comboBoxItem">A reference to the item in the ComboBox.Items that this object is extending.</param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._CheckBoxComboBox">
<summary>
A reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItem.ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.AddBindings">
<summary>
When using Data Binding operations via the DataSource property of the ComboBox. This
adds the required Bindings for the CheckBoxes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.OnCheckedChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.CheckBoxComboBoxItem_PropertyChanged(System.Object,System.ComponentModel.PropertyChangedEventArgs)">
<summary>
Added this handler because the control doesn't seem
to initialize correctly until shown for the first
time, which also means the summary text value
of the combo is out of sync initially.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItemList">
<summary>
A Typed List of the CheckBox items.
Simply a wrapper for the CheckBoxComboBox.Items. A list of CheckBoxComboBoxItem objects.
This List is automatically synchronised with the Items of the ComboBox and extended to
handle the additional boolean value. That said, do not Add or Remove using this List,
it will be lost or regenerated from the ComboBox.Items.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="checkBoxComboBox"></param>
</member>
<member name="E:PresentationControls.CheckBoxComboBoxItemList.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Add(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.AddRange(System.Collections.Generic.IEnumerable{PresentationControls.CheckBoxComboBoxItem})">
<summary>
</summary>
<param name="collection"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Clear">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Remove(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
<returns></returns>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItemList.Item(System.String)">
<summary>
Returns the item with the specified displayName or Text.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxProperties">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.#ctor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.Appearance">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoCheck">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoEllipsis">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.CheckAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceCheckedBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseDownBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseOverBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatStyle">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ForeColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.RightToLeft">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.TextAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ThreeState">
<summary>
</summary>
</member>
<member name="E:PresentationControls.CheckBoxProperties.PropertyChanged">
<summary>
Called when any property changes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.OnPropertyChanged">
<summary>
</summary>
</member>
<member name="T:PresentationControls.GripBounds">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.NativeMethods">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.Popup">
<summary>
CodeProject.com Simple pop-up control http://www.codeproject.com/cs/miscctrl/simplepopup.asp.
Represents a pop-up window.
</summary>
</member>
<member name="P:PresentationControls.Popup.Content">
<summary>
Gets the content of the pop-up.
</summary>
</member>
<member name="P:PresentationControls.Popup.UseFadeEffect">
<summary>
Gets a value indicating whether the PopupControl.Popup uses the fade effect.
</summary>
<value><c>true</c> if pop-up uses the fade effect; otherwise, <c>false</c>.</value>
<remarks>To use the fade effect, the FocusOnOpen property also has to be set to <c>true</c>.</remarks>
</member>
<member name="P:PresentationControls.Popup.FocusOnOpen">
<summary>
Gets or sets a value indicating whether to focus the content after the pop-up has been opened.
</summary>
<value><c>true</c> if the content should be focused after the pop-up has been opened; otherwise, <c>false</c>.</value>
<remarks>If the FocusOnOpen property is set to <c>false</c>, then pop-up cannot use the fade effect.</remarks>
</member>
<member name="P:PresentationControls.Popup.AcceptAlt">
<summary>
Gets or sets a value indicating whether presing the alt key should close the pop-up.
</summary>
<value><c>true</c> if presing the alt key does not close the pop-up; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.Resizable">
<summary>
Gets or sets a value indicating whether this PopupControl.Popup is resizable.
</summary>
<value><c>true</c> if resizable; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.MinimumSize">
<summary>
Gets or sets the size that is the lower limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.MaximumSize">
<summary>
Gets or sets the size that is the upper limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.CreateParams">
<summary>
Gets parameters of a new window.
</summary>
<returns>An object of type <see cref="T:System.Windows.Forms.CreateParams" /> used when creating a new window.</returns>
</member>
<member name="M:PresentationControls.Popup.#ctor(System.Windows.Forms.Control)">
<summary>
Initializes a new instance of the PopupControl.Popup class.
</summary>
<param name="content">The content of the pop-up.</param>
<remarks>
Pop-up will be disposed immediately after disposion of the content control.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="content" /> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.ProcessDialogKey(System.Windows.Forms.Keys)">
<summary>
Processes a dialog box key.
</summary>
<param name="keyData">One of the <see cref="T:System.Windows.Forms.Keys" /> values that represents the key to process.</param>
<returns>
true if the key was processed by the control; otherwise, false.
</returns>
</member>
<member name="M:PresentationControls.Popup.UpdateRegion">
<summary>
Updates the pop-up region.
</summary>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control)">
<summary>
Shows pop-up window below the specified control.
</summary>
<param name="control">The control below which the pop-up will be shown.</param>
<remarks>
When there is no space below the specified control, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control,System.Drawing.Rectangle)">
<summary>
Shows pop-up window below the specified area of specified control.
</summary>
<param name="control">The control used to compute screen location of specified area.</param>
<param name="area">The area of control below which the pop-up will be shown.</param>
<remarks>
When there is no space below specified area, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.SetVisibleCore(System.Boolean)">
<summary>
Adjusts the size of the owner <see cref="T:System.Windows.Forms.ToolStrip" /> to accommodate the <see cref="T:System.Windows.Forms.ToolStripDropDown" /> if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed, or clears and resets active <see cref="T:System.Windows.Forms.ToolStripDropDown" /> child controls of the <see cref="T:System.Windows.Forms.ToolStrip" /> if the <see cref="T:System.Windows.Forms.ToolStrip" /> is not currently displayed.
</summary>
<param name="visible">true if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.OnSizeChanged(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.Control.SizeChanged" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpening(System.ComponentModel.CancelEventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opening" /> event.
</summary>
<param name="e">A <see cref="T:System.ComponentModel.CancelEventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpened(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opened" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnClosed(System.Windows.Forms.ToolStripDropDownClosedEventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="F:PresentationControls.Popup.LastClosedTimeStamp">
<summary>
</summary>
</member>
<member name="M:PresentationControls.Popup.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.Popup.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="M:PresentationControls.Popup.ProcessResizing(System.Windows.Forms.Message@)">
<summary>
Processes the resizing messages.
</summary>
<param name="m">The message.</param>
<returns>true, if the WndProc method from the base class shouldn't be invoked.</returns>
</member>
<member name="M:PresentationControls.Popup.PaintSizeGrip(System.Windows.Forms.PaintEventArgs)">
<summary>
Paints the size grip.
</summary>
<param name="e">The <see cref="T:System.Windows.Forms.PaintEventArgs" /> instance containing the event data.</param>
</member>
<member name="F:PresentationControls.Popup.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.Popup.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.PopupComboBox">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
Represents a Windows combo box control with a custom popup control attached.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.#ctor">
<summary>
Initializes a new instance of the PopupControl.PopupComboBox class.
</summary>
</member>
<member name="F:PresentationControls.PopupComboBox.dropDown">
<summary>
The pop-up wrapper for the dropDownControl.
Made PROTECTED instead of PRIVATE so descendent classes can set its Resizable property.
Note however the pop-up properties must be set after the dropDownControl is assigned, since this
popup wrapper is recreated when the dropDownControl is assigned.
</summary>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownControl">
<summary>
Gets or sets the drop down control.
</summary>
<value>The drop down control.</value>
</member>
<member name="M:PresentationControls.PopupComboBox.ShowDropDown">
<summary>
Shows the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.HideDropDown">
<summary>
Hides the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownWidth">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.IntegralHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.Items">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.ItemHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="F:PresentationControls.PopupComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.PopupComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.ListSelectionWrapper`1">
<summary>
Maintains an additional "Selected" and "Count" value for each item in a List.
Useful in the CheckBoxComboBox. It holds a reference to the List[Index] Item and
whether it is selected or not.
It also caters for a Count, if needed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed. And no Counts will be displayed
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._ShowCounts">
<summary>
Is a Count indicator used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._Source">
<summary>
The original List of values wrapped. A "Selected" and possibly "Count" functionality is added.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._DisplayNameProperty">
<summary>
Used to indicate NOT to use ToString(), but read this property instead as a display value.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.DisplayNameProperty">
<summary>
When specified, indicates that ToString() should not be performed on the items.
This property will be read instead.
This is specifically useful on DataTable implementations, where PropertyDescriptors are used to read the values.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.SelectedNames">
<summary>
Builds a concatenation list of selected items in the list.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.ShowCounts">
<summary>
Indicates whether the Item display value (Name) should include a count.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.ClearCounts">
<summary>
Reset all counts to zero.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.CreateSelectionWrapper(System.Collections.IEnumerator)">
<summary>
Creates a ObjectSelectionWrapper item.
Note that the constructor signature of sub classes classes are important.
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.FindObjectWithItem(`0)">
<summary>
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="T:PresentationControls.ObjectSelectionWrapper`1">
<summary>
Used together with the ListSelectionWrapper in order to wrap data sources for a CheckBoxComboBox.
It helps to ensure you don't add an extra "Selected" property to a class that don't really need or want that information.
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.#ctor(`0,PresentationControls.ListSelectionWrapper{`0})">
<summary>
</summary>
<param name="item"></param>
<param name="container"></param>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Count">
<summary>
Used as a count indicator for the item. Not necessarily displayed.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Selected">
<summary>
Is this item selected.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Item">
<summary>
A reference to the wrapped item.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Container">
<summary>
The containing list for these selections.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Count">
<summary>
An indicator of how many items with the specified status is available for the current filter level.
Thaught this would make the app a bit more user-friendly and help not to miss items in Statusses
that are not often used.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Item">
<summary>
A reference to the item wrapped.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Name">
<summary>
The item display value. If ShowCount is true, it displays the "Name [Count]".
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.NameConcatenated">
<summary>
The textbox display value. The names concatenated.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Selected">
<summary>
Indicates whether the item is selected.
</summary>
</member>
<member name="E:PresentationControls.ObjectSelectionWrapper`1.PropertyChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.OnPropertyChanged(System.String)">
<summary>
</summary>
<param name="propertyName"></param>
</member>
<member name="T:ButtonImages.State">
<summary>
控件状态
@ -8757,6 +9581,15 @@
皮肤主题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMProgressBar.SetPercent(System.Int32,System.Int32,System.Int32)">
<summary>
设置百分比
</summary>
<param name="value"></param>
<param name="min"></param>
<param name="max"></param>
<returns></returns>
</member>
<member name="M:MGdu.WinFormUI.GMScrollBarBase.OnValueChanged(System.EventArgs)">
<summary>
引发 ValueChanged 事件
@ -8870,7 +9703,7 @@
布局比较简单的Object
</summary>
</member>
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Int32,System.Boolean,System.Drawing.Font)">
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Single,System.Boolean,System.Drawing.Font)">
<summary>
</summary>
@ -24389,65 +25222,79 @@
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.UseStandardBar">
<summary>
Should this bar be drawn in the system style?
此栏是否应以系统样式绘制?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Padding">
<summary>
How many pixels in from our cell border will this bar be drawn
将从我们的单元格边框开始绘制多少像素的条形图
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundColor">
<summary>
What color will be used to fill the interior of the control before the
progress bar is drawn?
</summary>
<summary>
在绘制进度条之前,将使用什么颜色填充控件内部?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameColor">
<summary>
What color should the frame of the progress bar be?
进度条边框颜色
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameWidth">
<summary>
How many pixels wide should the frame of the progress bar be?
进度条的边框像素宽
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FillColor">
<summary>
What color should the 'filled in' part of the progress bar be?
进度条的“填充”部分应该是什么颜色?
</summary>
<remarks>This is only used if GradientStartColor is Color.Empty</remarks>
<remarks>仅当GradientStartColor为Color.Empty时才使用此选项</remarks>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientStartColor">
<summary>
Use a gradient to fill the progress bar starting with this color
使用渐变以此颜色开始填充进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientEndColor">
<summary>
Use a gradient to fill the progress bar ending with this color
使用渐变填充以此颜色结尾的进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientStartColor">
<summary>
使用渐变以此颜色开始填充渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientEndColor">
<summary>
使用渐变填充以此颜色结尾的渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumWidth">
<summary>
Regardless of how wide the column become the progress bar will never be wider than this
无论列变得多宽,进度条都不会比这个宽。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumHeight">
<summary>
Regardless of how high the cell is the progress bar will never be taller than this
无论单元格有多高,进度条都不会比这个高
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MinimumValue">
<summary>
The minimum data value expected. Values less than this will given an empty bar
预期的最小数据值。小于此值的值将显示一个空条。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearFullValue">
<summary>
接近满时的值,高于该值时显示不同颜色小于等于MinimumValue或大于MaximumValue值则表示未设置该值
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumValue">
<summary>
The maximum value for the range. Values greater than this will give a full bar
</summary>
<summary>
范围的最大值。大于此值的值将给出一个完整的条形。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Pen">
<summary>
@ -24459,6 +25306,11 @@
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearBrush">
<summary>
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundBrush">
<summary>
The brush that will be used to fill the background of the bar
@ -28225,7 +29077,7 @@
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.#ctor">
<summary>
Initializes a new instance of the <see cref="!:PopupControl.ComboBox" /> class.
Initializes a new instance of the PopupControl.ComboBox class.
</summary>
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.OnDropDown(System.EventArgs)">

View File

@ -2101,6 +2101,20 @@
<param name="path"></param>
<param name="type"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Bitmap,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Image,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.GetRealPath(System.String)">
<summary>
获取绝对路径
@ -8169,6 +8183,17 @@
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor(System.Int32)">
<summary>
</summary>
<param name="Timeout">超时时间</param>
</member>
<member name="M:RyWeb.QuickWeb.Post(System.String,System.String,System.String)">
<summary>
以post方式获取网页源码
@ -8228,6 +8253,11 @@
<param name="errormsg"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.ProxyIp">
<summary>
代理
</summary>
</member>
<member name="P:RyWeb.QuickWeb.UserAgent">
<summary>
@ -9292,11 +9322,31 @@
Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrl">
<summary>
Alt+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.Shift">
<summary>
Shift键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndShift">
<summary>
Shift+Alt键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.CtrlAndShift">
<summary>
Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrlAndShift">
<summary>
Alt+Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.WindowsKey">
<summary>
Win键
@ -9328,6 +9378,50 @@
释放热键
</summary>
</member>
<member name="M:SysFuns.WinHotReg.GetTag(System.Int32)">
<summary>
获取热键Tag
</summary>
<param name="HotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(System.String)">
<summary>
获取热键id
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
获取热键id
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.Int32)">
<summary>
判断热键id是否存在
</summary>
<param name="hotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.String)">
<summary>
判断热键Tag是否存在
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
判断热键是否存在
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
注册热键
@ -9346,6 +9440,16 @@
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,System.String,System.Int32,System.Windows.Forms.Keys)">
<summary>
注册热键
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="P:SysFuns.WinHotReg.Count">
<summary>
获取热键数量
@ -9396,6 +9500,11 @@
热键id
</summary>
</member>
<member name="F:SysFuns.HotKeyType.Tag">
<summary>
热键Tag
</summary>
</member>
<member name="F:SysFuns.HotKeyType.fsModifiers">
<summary>
功能键
@ -9414,6 +9523,20 @@
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor(System.Int32,System.String,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
热键类型
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor">
<summary>
热键类型
</summary>
</member>
<member name="T:WinAPI.Kernel32">
<summary>

View File

@ -4,6 +4,830 @@
<name>ryControls</name>
</assembly>
<members>
<member name="T:PresentationControls.CheckBoxComboBox">
<summary>
Martin Lottering : 2007-10-27
--------------------------------
This is a usefull control in Filters. Allows you to save space and can replace a Grouped Box of CheckBoxes.
Currently used on the TasksFilter for TaskStatusses, which means the user can select which Statusses to include
in the "Search".
This control does not implement a CheckBoxListBox, instead it adds a wrapper for the normal ComboBox and Items.
See the CheckBoxItems property.
----------------
ALSO IMPORTANT: In Data Binding when setting the DataSource. The ValueMember must be a bool type property, because it will
be binded to the Checked property of the displayed CheckBox. Also see the DisplayMemberSingleItem for more information.
----------------
Extends the CodeProject PopupComboBox "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp"
by Lukasz Swiatkowski.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.#ctor">
<summary>
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._CheckBoxComboBoxListControl">
<summary>
The checkbox list control. The public CheckBoxItems property provides a direct reference to its Items.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation and its formatting however is controlled
by the Binded object, since it owns that property.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.GetCSVText(System.Boolean)">
<summary>
Builds a CSV string of the items selected.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxItems">
<summary>
A direct reference to the Items of CheckBoxComboBoxListControl.
You can use it to Get or Set the Checked status of items manually if you want.
But do not manipulate the List itself directly, e.g. Adding and Removing,
since the list is synchronised when shown with the ComboBox.Items. So for changing
the list contents, use Items instead.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DataSource">
<summary>
The DataSource of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.ValueMember">
<summary>
The ValueMember of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation however is controlled by the Binded
object, since it owns that property.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.Items">
<summary>
Made this property Browsable again, since the Base Popup hides it. This class uses it again.
Gets an object representing the collection of the items contained in this
System.Windows.Forms.ComboBox.
</summary>
<returns>A System.Windows.Forms.ComboBox.ObjectCollection representing the items in
the System.Windows.Forms.ComboBox.
</returns>
</member>
<member name="E:PresentationControls.CheckBoxComboBox.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnDropDownStyleChanged(System.EventArgs)">
<summary>
Will add an invisible item when the style is DropDownList,
to help maintain the correct text in main TextBox.
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnResize(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Clear">
<summary>
A function to clear/reset the list.
(Ubiklou : http://www.codeproject.com/KB/combobox/extending_combobox.aspx?msg=2526813#xx2526813xx)
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.ClearSelection">
<summary>
Uncheck all items.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxProperties">
<summary>
The properties that will be assigned to the checkboxes as default values.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
</summary>
<param name="m"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControlContainer">
<summary>
A container control for the ListControl to ensure the ScrollBar on the ListControl does not
Paint over the Size grip. Setting the Padding or Margin on the Popup or host control does
not work as I expected.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.#ctor">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup class to ensure Resize operations work correctly.
</summary>
<param name="m"></param>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControl">
<summary>
This ListControl that pops up to the User. It contains the CheckBoxComboBoxItems.
The items are docked DockStyle.Top in this control.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="owner"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._CheckBoxComboBox">
<summary>
Simply a reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._Items">
<summary>
A Typed list of ComboBoxCheckBoxItems.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxListControl.Items">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup control to enable Resize operations.
</summary>
<param name="m"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.SynchroniseControlsWithComboBoxItems">
<summary>
Maintains the controls displayed in the list by keeping them in sync with the actual
items in the combobox. (e.g. removing and adding as well as ordering)
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItem">
<summary>
The CheckBox items displayed in the Popup of the ComboBox.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.#ctor(PresentationControls.CheckBoxComboBox,System.Object)">
<summary>
</summary>
<param name="owner">A reference to the CheckBoxComboBox.</param>
<param name="comboBoxItem">A reference to the item in the ComboBox.Items that this object is extending.</param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._CheckBoxComboBox">
<summary>
A reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItem.ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.AddBindings">
<summary>
When using Data Binding operations via the DataSource property of the ComboBox. This
adds the required Bindings for the CheckBoxes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.OnCheckedChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.CheckBoxComboBoxItem_PropertyChanged(System.Object,System.ComponentModel.PropertyChangedEventArgs)">
<summary>
Added this handler because the control doesn't seem
to initialize correctly until shown for the first
time, which also means the summary text value
of the combo is out of sync initially.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItemList">
<summary>
A Typed List of the CheckBox items.
Simply a wrapper for the CheckBoxComboBox.Items. A list of CheckBoxComboBoxItem objects.
This List is automatically synchronised with the Items of the ComboBox and extended to
handle the additional boolean value. That said, do not Add or Remove using this List,
it will be lost or regenerated from the ComboBox.Items.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="checkBoxComboBox"></param>
</member>
<member name="E:PresentationControls.CheckBoxComboBoxItemList.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Add(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.AddRange(System.Collections.Generic.IEnumerable{PresentationControls.CheckBoxComboBoxItem})">
<summary>
</summary>
<param name="collection"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Clear">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Remove(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
<returns></returns>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItemList.Item(System.String)">
<summary>
Returns the item with the specified displayName or Text.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxProperties">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.#ctor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.Appearance">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoCheck">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoEllipsis">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.CheckAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceCheckedBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseDownBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseOverBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatStyle">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ForeColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.RightToLeft">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.TextAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ThreeState">
<summary>
</summary>
</member>
<member name="E:PresentationControls.CheckBoxProperties.PropertyChanged">
<summary>
Called when any property changes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.OnPropertyChanged">
<summary>
</summary>
</member>
<member name="T:PresentationControls.GripBounds">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.NativeMethods">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.Popup">
<summary>
CodeProject.com Simple pop-up control http://www.codeproject.com/cs/miscctrl/simplepopup.asp.
Represents a pop-up window.
</summary>
</member>
<member name="P:PresentationControls.Popup.Content">
<summary>
Gets the content of the pop-up.
</summary>
</member>
<member name="P:PresentationControls.Popup.UseFadeEffect">
<summary>
Gets a value indicating whether the PopupControl.Popup uses the fade effect.
</summary>
<value><c>true</c> if pop-up uses the fade effect; otherwise, <c>false</c>.</value>
<remarks>To use the fade effect, the FocusOnOpen property also has to be set to <c>true</c>.</remarks>
</member>
<member name="P:PresentationControls.Popup.FocusOnOpen">
<summary>
Gets or sets a value indicating whether to focus the content after the pop-up has been opened.
</summary>
<value><c>true</c> if the content should be focused after the pop-up has been opened; otherwise, <c>false</c>.</value>
<remarks>If the FocusOnOpen property is set to <c>false</c>, then pop-up cannot use the fade effect.</remarks>
</member>
<member name="P:PresentationControls.Popup.AcceptAlt">
<summary>
Gets or sets a value indicating whether presing the alt key should close the pop-up.
</summary>
<value><c>true</c> if presing the alt key does not close the pop-up; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.Resizable">
<summary>
Gets or sets a value indicating whether this PopupControl.Popup is resizable.
</summary>
<value><c>true</c> if resizable; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.MinimumSize">
<summary>
Gets or sets the size that is the lower limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.MaximumSize">
<summary>
Gets or sets the size that is the upper limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.CreateParams">
<summary>
Gets parameters of a new window.
</summary>
<returns>An object of type <see cref="T:System.Windows.Forms.CreateParams" /> used when creating a new window.</returns>
</member>
<member name="M:PresentationControls.Popup.#ctor(System.Windows.Forms.Control)">
<summary>
Initializes a new instance of the PopupControl.Popup class.
</summary>
<param name="content">The content of the pop-up.</param>
<remarks>
Pop-up will be disposed immediately after disposion of the content control.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="content" /> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.ProcessDialogKey(System.Windows.Forms.Keys)">
<summary>
Processes a dialog box key.
</summary>
<param name="keyData">One of the <see cref="T:System.Windows.Forms.Keys" /> values that represents the key to process.</param>
<returns>
true if the key was processed by the control; otherwise, false.
</returns>
</member>
<member name="M:PresentationControls.Popup.UpdateRegion">
<summary>
Updates the pop-up region.
</summary>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control)">
<summary>
Shows pop-up window below the specified control.
</summary>
<param name="control">The control below which the pop-up will be shown.</param>
<remarks>
When there is no space below the specified control, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control,System.Drawing.Rectangle)">
<summary>
Shows pop-up window below the specified area of specified control.
</summary>
<param name="control">The control used to compute screen location of specified area.</param>
<param name="area">The area of control below which the pop-up will be shown.</param>
<remarks>
When there is no space below specified area, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.SetVisibleCore(System.Boolean)">
<summary>
Adjusts the size of the owner <see cref="T:System.Windows.Forms.ToolStrip" /> to accommodate the <see cref="T:System.Windows.Forms.ToolStripDropDown" /> if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed, or clears and resets active <see cref="T:System.Windows.Forms.ToolStripDropDown" /> child controls of the <see cref="T:System.Windows.Forms.ToolStrip" /> if the <see cref="T:System.Windows.Forms.ToolStrip" /> is not currently displayed.
</summary>
<param name="visible">true if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.OnSizeChanged(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.Control.SizeChanged" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpening(System.ComponentModel.CancelEventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opening" /> event.
</summary>
<param name="e">A <see cref="T:System.ComponentModel.CancelEventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpened(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opened" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnClosed(System.Windows.Forms.ToolStripDropDownClosedEventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="F:PresentationControls.Popup.LastClosedTimeStamp">
<summary>
</summary>
</member>
<member name="M:PresentationControls.Popup.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.Popup.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="M:PresentationControls.Popup.ProcessResizing(System.Windows.Forms.Message@)">
<summary>
Processes the resizing messages.
</summary>
<param name="m">The message.</param>
<returns>true, if the WndProc method from the base class shouldn't be invoked.</returns>
</member>
<member name="M:PresentationControls.Popup.PaintSizeGrip(System.Windows.Forms.PaintEventArgs)">
<summary>
Paints the size grip.
</summary>
<param name="e">The <see cref="T:System.Windows.Forms.PaintEventArgs" /> instance containing the event data.</param>
</member>
<member name="F:PresentationControls.Popup.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.Popup.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.PopupComboBox">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
Represents a Windows combo box control with a custom popup control attached.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.#ctor">
<summary>
Initializes a new instance of the PopupControl.PopupComboBox class.
</summary>
</member>
<member name="F:PresentationControls.PopupComboBox.dropDown">
<summary>
The pop-up wrapper for the dropDownControl.
Made PROTECTED instead of PRIVATE so descendent classes can set its Resizable property.
Note however the pop-up properties must be set after the dropDownControl is assigned, since this
popup wrapper is recreated when the dropDownControl is assigned.
</summary>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownControl">
<summary>
Gets or sets the drop down control.
</summary>
<value>The drop down control.</value>
</member>
<member name="M:PresentationControls.PopupComboBox.ShowDropDown">
<summary>
Shows the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.HideDropDown">
<summary>
Hides the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownWidth">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.IntegralHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.Items">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.ItemHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="F:PresentationControls.PopupComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.PopupComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.ListSelectionWrapper`1">
<summary>
Maintains an additional "Selected" and "Count" value for each item in a List.
Useful in the CheckBoxComboBox. It holds a reference to the List[Index] Item and
whether it is selected or not.
It also caters for a Count, if needed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed. And no Counts will be displayed
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._ShowCounts">
<summary>
Is a Count indicator used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._Source">
<summary>
The original List of values wrapped. A "Selected" and possibly "Count" functionality is added.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._DisplayNameProperty">
<summary>
Used to indicate NOT to use ToString(), but read this property instead as a display value.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.DisplayNameProperty">
<summary>
When specified, indicates that ToString() should not be performed on the items.
This property will be read instead.
This is specifically useful on DataTable implementations, where PropertyDescriptors are used to read the values.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.SelectedNames">
<summary>
Builds a concatenation list of selected items in the list.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.ShowCounts">
<summary>
Indicates whether the Item display value (Name) should include a count.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.ClearCounts">
<summary>
Reset all counts to zero.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.CreateSelectionWrapper(System.Collections.IEnumerator)">
<summary>
Creates a ObjectSelectionWrapper item.
Note that the constructor signature of sub classes classes are important.
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.FindObjectWithItem(`0)">
<summary>
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="T:PresentationControls.ObjectSelectionWrapper`1">
<summary>
Used together with the ListSelectionWrapper in order to wrap data sources for a CheckBoxComboBox.
It helps to ensure you don't add an extra "Selected" property to a class that don't really need or want that information.
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.#ctor(`0,PresentationControls.ListSelectionWrapper{`0})">
<summary>
</summary>
<param name="item"></param>
<param name="container"></param>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Count">
<summary>
Used as a count indicator for the item. Not necessarily displayed.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Selected">
<summary>
Is this item selected.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Item">
<summary>
A reference to the wrapped item.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Container">
<summary>
The containing list for these selections.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Count">
<summary>
An indicator of how many items with the specified status is available for the current filter level.
Thaught this would make the app a bit more user-friendly and help not to miss items in Statusses
that are not often used.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Item">
<summary>
A reference to the item wrapped.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Name">
<summary>
The item display value. If ShowCount is true, it displays the "Name [Count]".
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.NameConcatenated">
<summary>
The textbox display value. The names concatenated.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Selected">
<summary>
Indicates whether the item is selected.
</summary>
</member>
<member name="E:PresentationControls.ObjectSelectionWrapper`1.PropertyChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.OnPropertyChanged(System.String)">
<summary>
</summary>
<param name="propertyName"></param>
</member>
<member name="T:ButtonImages.State">
<summary>
控件状态
@ -8757,6 +9581,15 @@
皮肤主题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMProgressBar.SetPercent(System.Int32,System.Int32,System.Int32)">
<summary>
设置百分比
</summary>
<param name="value"></param>
<param name="min"></param>
<param name="max"></param>
<returns></returns>
</member>
<member name="M:MGdu.WinFormUI.GMScrollBarBase.OnValueChanged(System.EventArgs)">
<summary>
引发 ValueChanged 事件
@ -8870,7 +9703,7 @@
布局比较简单的Object
</summary>
</member>
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Int32,System.Boolean,System.Drawing.Font)">
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Single,System.Boolean,System.Drawing.Font)">
<summary>
</summary>
@ -24389,65 +25222,79 @@
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.UseStandardBar">
<summary>
Should this bar be drawn in the system style?
此栏是否应以系统样式绘制?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Padding">
<summary>
How many pixels in from our cell border will this bar be drawn
将从我们的单元格边框开始绘制多少像素的条形图
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundColor">
<summary>
What color will be used to fill the interior of the control before the
progress bar is drawn?
</summary>
<summary>
在绘制进度条之前,将使用什么颜色填充控件内部?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameColor">
<summary>
What color should the frame of the progress bar be?
进度条边框颜色
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameWidth">
<summary>
How many pixels wide should the frame of the progress bar be?
进度条的边框像素宽
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FillColor">
<summary>
What color should the 'filled in' part of the progress bar be?
进度条的“填充”部分应该是什么颜色?
</summary>
<remarks>This is only used if GradientStartColor is Color.Empty</remarks>
<remarks>仅当GradientStartColor为Color.Empty时才使用此选项</remarks>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientStartColor">
<summary>
Use a gradient to fill the progress bar starting with this color
使用渐变以此颜色开始填充进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientEndColor">
<summary>
Use a gradient to fill the progress bar ending with this color
使用渐变填充以此颜色结尾的进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientStartColor">
<summary>
使用渐变以此颜色开始填充渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientEndColor">
<summary>
使用渐变填充以此颜色结尾的渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumWidth">
<summary>
Regardless of how wide the column become the progress bar will never be wider than this
无论列变得多宽,进度条都不会比这个宽。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumHeight">
<summary>
Regardless of how high the cell is the progress bar will never be taller than this
无论单元格有多高,进度条都不会比这个高
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MinimumValue">
<summary>
The minimum data value expected. Values less than this will given an empty bar
预期的最小数据值。小于此值的值将显示一个空条。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearFullValue">
<summary>
接近满时的值,高于该值时显示不同颜色小于等于MinimumValue或大于MaximumValue值则表示未设置该值
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumValue">
<summary>
The maximum value for the range. Values greater than this will give a full bar
</summary>
<summary>
范围的最大值。大于此值的值将给出一个完整的条形。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Pen">
<summary>
@ -24459,6 +25306,11 @@
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearBrush">
<summary>
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundBrush">
<summary>
The brush that will be used to fill the background of the bar
@ -28225,7 +29077,7 @@
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.#ctor">
<summary>
Initializes a new instance of the <see cref="!:PopupControl.ComboBox" /> class.
Initializes a new instance of the PopupControl.ComboBox class.
</summary>
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.OnDropDown(System.EventArgs)">

View File

@ -2101,6 +2101,20 @@
<param name="path"></param>
<param name="type"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Bitmap,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Image,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.GetRealPath(System.String)">
<summary>
获取绝对路径
@ -8142,6 +8156,17 @@
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor(System.Int32)">
<summary>
</summary>
<param name="Timeout">超时时间</param>
</member>
<member name="M:RyWeb.QuickWeb.Post(System.String,System.String,System.String)">
<summary>
以post方式获取网页源码
@ -8201,6 +8226,11 @@
<param name="errormsg"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.ProxyIp">
<summary>
代理
</summary>
</member>
<member name="P:RyWeb.QuickWeb.UserAgent">
<summary>
@ -9265,11 +9295,31 @@
Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrl">
<summary>
Alt+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.Shift">
<summary>
Shift键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndShift">
<summary>
Shift+Alt键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.CtrlAndShift">
<summary>
Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrlAndShift">
<summary>
Alt+Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.WindowsKey">
<summary>
Win键
@ -9301,6 +9351,50 @@
释放热键
</summary>
</member>
<member name="M:SysFuns.WinHotReg.GetTag(System.Int32)">
<summary>
获取热键Tag
</summary>
<param name="HotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(System.String)">
<summary>
获取热键id
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
获取热键id
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.Int32)">
<summary>
判断热键id是否存在
</summary>
<param name="hotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.String)">
<summary>
判断热键Tag是否存在
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
判断热键是否存在
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
注册热键
@ -9319,6 +9413,16 @@
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,System.String,System.Int32,System.Windows.Forms.Keys)">
<summary>
注册热键
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="P:SysFuns.WinHotReg.Count">
<summary>
获取热键数量
@ -9369,6 +9473,11 @@
热键id
</summary>
</member>
<member name="F:SysFuns.HotKeyType.Tag">
<summary>
热键Tag
</summary>
</member>
<member name="F:SysFuns.HotKeyType.fsModifiers">
<summary>
功能键
@ -9387,6 +9496,20 @@
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor(System.Int32,System.String,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
热键类型
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor">
<summary>
热键类型
</summary>
</member>
<member name="T:WinAPI.Kernel32">
<summary>

View File

@ -4,6 +4,830 @@
<name>ryControls</name>
</assembly>
<members>
<member name="T:PresentationControls.CheckBoxComboBox">
<summary>
Martin Lottering : 2007-10-27
--------------------------------
This is a usefull control in Filters. Allows you to save space and can replace a Grouped Box of CheckBoxes.
Currently used on the TasksFilter for TaskStatusses, which means the user can select which Statusses to include
in the "Search".
This control does not implement a CheckBoxListBox, instead it adds a wrapper for the normal ComboBox and Items.
See the CheckBoxItems property.
----------------
ALSO IMPORTANT: In Data Binding when setting the DataSource. The ValueMember must be a bool type property, because it will
be binded to the Checked property of the displayed CheckBox. Also see the DisplayMemberSingleItem for more information.
----------------
Extends the CodeProject PopupComboBox "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp"
by Lukasz Swiatkowski.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.#ctor">
<summary>
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._CheckBoxComboBoxListControl">
<summary>
The checkbox list control. The public CheckBoxItems property provides a direct reference to its Items.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation and its formatting however is controlled
by the Binded object, since it owns that property.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.GetCSVText(System.Boolean)">
<summary>
Builds a CSV string of the items selected.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxItems">
<summary>
A direct reference to the Items of CheckBoxComboBoxListControl.
You can use it to Get or Set the Checked status of items manually if you want.
But do not manipulate the List itself directly, e.g. Adding and Removing,
since the list is synchronised when shown with the ComboBox.Items. So for changing
the list contents, use Items instead.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DataSource">
<summary>
The DataSource of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.ValueMember">
<summary>
The ValueMember of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation however is controlled by the Binded
object, since it owns that property.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.Items">
<summary>
Made this property Browsable again, since the Base Popup hides it. This class uses it again.
Gets an object representing the collection of the items contained in this
System.Windows.Forms.ComboBox.
</summary>
<returns>A System.Windows.Forms.ComboBox.ObjectCollection representing the items in
the System.Windows.Forms.ComboBox.
</returns>
</member>
<member name="E:PresentationControls.CheckBoxComboBox.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnDropDownStyleChanged(System.EventArgs)">
<summary>
Will add an invisible item when the style is DropDownList,
to help maintain the correct text in main TextBox.
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnResize(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Clear">
<summary>
A function to clear/reset the list.
(Ubiklou : http://www.codeproject.com/KB/combobox/extending_combobox.aspx?msg=2526813#xx2526813xx)
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.ClearSelection">
<summary>
Uncheck all items.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxProperties">
<summary>
The properties that will be assigned to the checkboxes as default values.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
</summary>
<param name="m"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControlContainer">
<summary>
A container control for the ListControl to ensure the ScrollBar on the ListControl does not
Paint over the Size grip. Setting the Padding or Margin on the Popup or host control does
not work as I expected.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.#ctor">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup class to ensure Resize operations work correctly.
</summary>
<param name="m"></param>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControl">
<summary>
This ListControl that pops up to the User. It contains the CheckBoxComboBoxItems.
The items are docked DockStyle.Top in this control.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="owner"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._CheckBoxComboBox">
<summary>
Simply a reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._Items">
<summary>
A Typed list of ComboBoxCheckBoxItems.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxListControl.Items">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup control to enable Resize operations.
</summary>
<param name="m"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.SynchroniseControlsWithComboBoxItems">
<summary>
Maintains the controls displayed in the list by keeping them in sync with the actual
items in the combobox. (e.g. removing and adding as well as ordering)
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItem">
<summary>
The CheckBox items displayed in the Popup of the ComboBox.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.#ctor(PresentationControls.CheckBoxComboBox,System.Object)">
<summary>
</summary>
<param name="owner">A reference to the CheckBoxComboBox.</param>
<param name="comboBoxItem">A reference to the item in the ComboBox.Items that this object is extending.</param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._CheckBoxComboBox">
<summary>
A reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItem.ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.AddBindings">
<summary>
When using Data Binding operations via the DataSource property of the ComboBox. This
adds the required Bindings for the CheckBoxes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.OnCheckedChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.CheckBoxComboBoxItem_PropertyChanged(System.Object,System.ComponentModel.PropertyChangedEventArgs)">
<summary>
Added this handler because the control doesn't seem
to initialize correctly until shown for the first
time, which also means the summary text value
of the combo is out of sync initially.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItemList">
<summary>
A Typed List of the CheckBox items.
Simply a wrapper for the CheckBoxComboBox.Items. A list of CheckBoxComboBoxItem objects.
This List is automatically synchronised with the Items of the ComboBox and extended to
handle the additional boolean value. That said, do not Add or Remove using this List,
it will be lost or regenerated from the ComboBox.Items.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="checkBoxComboBox"></param>
</member>
<member name="E:PresentationControls.CheckBoxComboBoxItemList.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Add(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.AddRange(System.Collections.Generic.IEnumerable{PresentationControls.CheckBoxComboBoxItem})">
<summary>
</summary>
<param name="collection"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Clear">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Remove(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
<returns></returns>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItemList.Item(System.String)">
<summary>
Returns the item with the specified displayName or Text.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxProperties">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.#ctor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.Appearance">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoCheck">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoEllipsis">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.CheckAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceCheckedBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseDownBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseOverBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatStyle">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ForeColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.RightToLeft">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.TextAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ThreeState">
<summary>
</summary>
</member>
<member name="E:PresentationControls.CheckBoxProperties.PropertyChanged">
<summary>
Called when any property changes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.OnPropertyChanged">
<summary>
</summary>
</member>
<member name="T:PresentationControls.GripBounds">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.NativeMethods">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.Popup">
<summary>
CodeProject.com Simple pop-up control http://www.codeproject.com/cs/miscctrl/simplepopup.asp.
Represents a pop-up window.
</summary>
</member>
<member name="P:PresentationControls.Popup.Content">
<summary>
Gets the content of the pop-up.
</summary>
</member>
<member name="P:PresentationControls.Popup.UseFadeEffect">
<summary>
Gets a value indicating whether the PopupControl.Popup uses the fade effect.
</summary>
<value><c>true</c> if pop-up uses the fade effect; otherwise, <c>false</c>.</value>
<remarks>To use the fade effect, the FocusOnOpen property also has to be set to <c>true</c>.</remarks>
</member>
<member name="P:PresentationControls.Popup.FocusOnOpen">
<summary>
Gets or sets a value indicating whether to focus the content after the pop-up has been opened.
</summary>
<value><c>true</c> if the content should be focused after the pop-up has been opened; otherwise, <c>false</c>.</value>
<remarks>If the FocusOnOpen property is set to <c>false</c>, then pop-up cannot use the fade effect.</remarks>
</member>
<member name="P:PresentationControls.Popup.AcceptAlt">
<summary>
Gets or sets a value indicating whether presing the alt key should close the pop-up.
</summary>
<value><c>true</c> if presing the alt key does not close the pop-up; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.Resizable">
<summary>
Gets or sets a value indicating whether this PopupControl.Popup is resizable.
</summary>
<value><c>true</c> if resizable; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.MinimumSize">
<summary>
Gets or sets the size that is the lower limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.MaximumSize">
<summary>
Gets or sets the size that is the upper limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.CreateParams">
<summary>
Gets parameters of a new window.
</summary>
<returns>An object of type <see cref="T:System.Windows.Forms.CreateParams" /> used when creating a new window.</returns>
</member>
<member name="M:PresentationControls.Popup.#ctor(System.Windows.Forms.Control)">
<summary>
Initializes a new instance of the PopupControl.Popup class.
</summary>
<param name="content">The content of the pop-up.</param>
<remarks>
Pop-up will be disposed immediately after disposion of the content control.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="content" /> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.ProcessDialogKey(System.Windows.Forms.Keys)">
<summary>
Processes a dialog box key.
</summary>
<param name="keyData">One of the <see cref="T:System.Windows.Forms.Keys" /> values that represents the key to process.</param>
<returns>
true if the key was processed by the control; otherwise, false.
</returns>
</member>
<member name="M:PresentationControls.Popup.UpdateRegion">
<summary>
Updates the pop-up region.
</summary>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control)">
<summary>
Shows pop-up window below the specified control.
</summary>
<param name="control">The control below which the pop-up will be shown.</param>
<remarks>
When there is no space below the specified control, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control,System.Drawing.Rectangle)">
<summary>
Shows pop-up window below the specified area of specified control.
</summary>
<param name="control">The control used to compute screen location of specified area.</param>
<param name="area">The area of control below which the pop-up will be shown.</param>
<remarks>
When there is no space below specified area, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.SetVisibleCore(System.Boolean)">
<summary>
Adjusts the size of the owner <see cref="T:System.Windows.Forms.ToolStrip" /> to accommodate the <see cref="T:System.Windows.Forms.ToolStripDropDown" /> if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed, or clears and resets active <see cref="T:System.Windows.Forms.ToolStripDropDown" /> child controls of the <see cref="T:System.Windows.Forms.ToolStrip" /> if the <see cref="T:System.Windows.Forms.ToolStrip" /> is not currently displayed.
</summary>
<param name="visible">true if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.OnSizeChanged(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.Control.SizeChanged" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpening(System.ComponentModel.CancelEventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opening" /> event.
</summary>
<param name="e">A <see cref="T:System.ComponentModel.CancelEventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpened(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opened" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnClosed(System.Windows.Forms.ToolStripDropDownClosedEventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="F:PresentationControls.Popup.LastClosedTimeStamp">
<summary>
</summary>
</member>
<member name="M:PresentationControls.Popup.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.Popup.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="M:PresentationControls.Popup.ProcessResizing(System.Windows.Forms.Message@)">
<summary>
Processes the resizing messages.
</summary>
<param name="m">The message.</param>
<returns>true, if the WndProc method from the base class shouldn't be invoked.</returns>
</member>
<member name="M:PresentationControls.Popup.PaintSizeGrip(System.Windows.Forms.PaintEventArgs)">
<summary>
Paints the size grip.
</summary>
<param name="e">The <see cref="T:System.Windows.Forms.PaintEventArgs" /> instance containing the event data.</param>
</member>
<member name="F:PresentationControls.Popup.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.Popup.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.PopupComboBox">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
Represents a Windows combo box control with a custom popup control attached.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.#ctor">
<summary>
Initializes a new instance of the PopupControl.PopupComboBox class.
</summary>
</member>
<member name="F:PresentationControls.PopupComboBox.dropDown">
<summary>
The pop-up wrapper for the dropDownControl.
Made PROTECTED instead of PRIVATE so descendent classes can set its Resizable property.
Note however the pop-up properties must be set after the dropDownControl is assigned, since this
popup wrapper is recreated when the dropDownControl is assigned.
</summary>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownControl">
<summary>
Gets or sets the drop down control.
</summary>
<value>The drop down control.</value>
</member>
<member name="M:PresentationControls.PopupComboBox.ShowDropDown">
<summary>
Shows the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.HideDropDown">
<summary>
Hides the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownWidth">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.IntegralHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.Items">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.ItemHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="F:PresentationControls.PopupComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.PopupComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.ListSelectionWrapper`1">
<summary>
Maintains an additional "Selected" and "Count" value for each item in a List.
Useful in the CheckBoxComboBox. It holds a reference to the List[Index] Item and
whether it is selected or not.
It also caters for a Count, if needed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed. And no Counts will be displayed
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._ShowCounts">
<summary>
Is a Count indicator used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._Source">
<summary>
The original List of values wrapped. A "Selected" and possibly "Count" functionality is added.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._DisplayNameProperty">
<summary>
Used to indicate NOT to use ToString(), but read this property instead as a display value.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.DisplayNameProperty">
<summary>
When specified, indicates that ToString() should not be performed on the items.
This property will be read instead.
This is specifically useful on DataTable implementations, where PropertyDescriptors are used to read the values.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.SelectedNames">
<summary>
Builds a concatenation list of selected items in the list.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.ShowCounts">
<summary>
Indicates whether the Item display value (Name) should include a count.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.ClearCounts">
<summary>
Reset all counts to zero.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.CreateSelectionWrapper(System.Collections.IEnumerator)">
<summary>
Creates a ObjectSelectionWrapper item.
Note that the constructor signature of sub classes classes are important.
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.FindObjectWithItem(`0)">
<summary>
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="T:PresentationControls.ObjectSelectionWrapper`1">
<summary>
Used together with the ListSelectionWrapper in order to wrap data sources for a CheckBoxComboBox.
It helps to ensure you don't add an extra "Selected" property to a class that don't really need or want that information.
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.#ctor(`0,PresentationControls.ListSelectionWrapper{`0})">
<summary>
</summary>
<param name="item"></param>
<param name="container"></param>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Count">
<summary>
Used as a count indicator for the item. Not necessarily displayed.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Selected">
<summary>
Is this item selected.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Item">
<summary>
A reference to the wrapped item.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Container">
<summary>
The containing list for these selections.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Count">
<summary>
An indicator of how many items with the specified status is available for the current filter level.
Thaught this would make the app a bit more user-friendly and help not to miss items in Statusses
that are not often used.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Item">
<summary>
A reference to the item wrapped.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Name">
<summary>
The item display value. If ShowCount is true, it displays the "Name [Count]".
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.NameConcatenated">
<summary>
The textbox display value. The names concatenated.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Selected">
<summary>
Indicates whether the item is selected.
</summary>
</member>
<member name="E:PresentationControls.ObjectSelectionWrapper`1.PropertyChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.OnPropertyChanged(System.String)">
<summary>
</summary>
<param name="propertyName"></param>
</member>
<member name="T:ButtonImages.State">
<summary>
控件状态
@ -8757,6 +9581,15 @@
皮肤主题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMProgressBar.SetPercent(System.Int32,System.Int32,System.Int32)">
<summary>
设置百分比
</summary>
<param name="value"></param>
<param name="min"></param>
<param name="max"></param>
<returns></returns>
</member>
<member name="M:MGdu.WinFormUI.GMScrollBarBase.OnValueChanged(System.EventArgs)">
<summary>
引发 ValueChanged 事件
@ -8870,7 +9703,7 @@
布局比较简单的Object
</summary>
</member>
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Int32,System.Boolean,System.Drawing.Font)">
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Single,System.Boolean,System.Drawing.Font)">
<summary>
</summary>
@ -24389,65 +25222,79 @@
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.UseStandardBar">
<summary>
Should this bar be drawn in the system style?
此栏是否应以系统样式绘制?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Padding">
<summary>
How many pixels in from our cell border will this bar be drawn
将从我们的单元格边框开始绘制多少像素的条形图
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundColor">
<summary>
What color will be used to fill the interior of the control before the
progress bar is drawn?
</summary>
<summary>
在绘制进度条之前,将使用什么颜色填充控件内部?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameColor">
<summary>
What color should the frame of the progress bar be?
进度条边框颜色
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameWidth">
<summary>
How many pixels wide should the frame of the progress bar be?
进度条的边框像素宽
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FillColor">
<summary>
What color should the 'filled in' part of the progress bar be?
进度条的“填充”部分应该是什么颜色?
</summary>
<remarks>This is only used if GradientStartColor is Color.Empty</remarks>
<remarks>仅当GradientStartColor为Color.Empty时才使用此选项</remarks>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientStartColor">
<summary>
Use a gradient to fill the progress bar starting with this color
使用渐变以此颜色开始填充进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientEndColor">
<summary>
Use a gradient to fill the progress bar ending with this color
使用渐变填充以此颜色结尾的进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientStartColor">
<summary>
使用渐变以此颜色开始填充渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientEndColor">
<summary>
使用渐变填充以此颜色结尾的渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumWidth">
<summary>
Regardless of how wide the column become the progress bar will never be wider than this
无论列变得多宽,进度条都不会比这个宽。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumHeight">
<summary>
Regardless of how high the cell is the progress bar will never be taller than this
无论单元格有多高,进度条都不会比这个高
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MinimumValue">
<summary>
The minimum data value expected. Values less than this will given an empty bar
预期的最小数据值。小于此值的值将显示一个空条。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearFullValue">
<summary>
接近满时的值,高于该值时显示不同颜色小于等于MinimumValue或大于MaximumValue值则表示未设置该值
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumValue">
<summary>
The maximum value for the range. Values greater than this will give a full bar
</summary>
<summary>
范围的最大值。大于此值的值将给出一个完整的条形。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Pen">
<summary>
@ -24459,6 +25306,11 @@
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearBrush">
<summary>
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundBrush">
<summary>
The brush that will be used to fill the background of the bar
@ -28225,7 +29077,7 @@
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.#ctor">
<summary>
Initializes a new instance of the <see cref="!:PopupControl.ComboBox" /> class.
Initializes a new instance of the PopupControl.ComboBox class.
</summary>
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.OnDropDown(System.EventArgs)">

View File

@ -2101,6 +2101,20 @@
<param name="path"></param>
<param name="type"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Bitmap,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.SaveHighQualityImage(System.Drawing.Image,System.String)">
<summary>
保存高质量不失真照片
</summary>
<param name="m"></param>
<param name="path"></param>
</member>
<member name="M:ryCommon.RyFiles.GetRealPath(System.String)">
<summary>
获取绝对路径
@ -8142,6 +8156,17 @@
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.#ctor(System.Int32)">
<summary>
</summary>
<param name="Timeout">超时时间</param>
</member>
<member name="M:RyWeb.QuickWeb.Post(System.String,System.String,System.String)">
<summary>
以post方式获取网页源码
@ -8201,6 +8226,11 @@
<param name="errormsg"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.ProxyIp">
<summary>
代理
</summary>
</member>
<member name="P:RyWeb.QuickWeb.UserAgent">
<summary>
@ -9265,11 +9295,31 @@
Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrl">
<summary>
Alt+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.Shift">
<summary>
Shift键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndShift">
<summary>
Shift+Alt键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.CtrlAndShift">
<summary>
Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.AltAndCtrlAndShift">
<summary>
Alt+Shift+Ctrl键
</summary>
</member>
<member name="F:SysFuns.KeyModifiers.WindowsKey">
<summary>
Win键
@ -9301,6 +9351,50 @@
释放热键
</summary>
</member>
<member name="M:SysFuns.WinHotReg.GetTag(System.Int32)">
<summary>
获取热键Tag
</summary>
<param name="HotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(System.String)">
<summary>
获取热键id
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.GetHotId(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
获取热键id
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.Int32)">
<summary>
判断热键id是否存在
</summary>
<param name="hotId"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(System.String)">
<summary>
判断热键Tag是否存在
</summary>
<param name="Tag"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.IsExist(SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
判断热键是否存在
</summary>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
注册热键
@ -9319,6 +9413,16 @@
<param name="vk"></param>
<returns></returns>
</member>
<member name="M:SysFuns.WinHotReg.RegHotKey(System.Int32,System.String,System.Int32,System.Windows.Forms.Keys)">
<summary>
注册热键
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
<returns></returns>
</member>
<member name="P:SysFuns.WinHotReg.Count">
<summary>
获取热键数量
@ -9369,6 +9473,11 @@
热键id
</summary>
</member>
<member name="F:SysFuns.HotKeyType.Tag">
<summary>
热键Tag
</summary>
</member>
<member name="F:SysFuns.HotKeyType.fsModifiers">
<summary>
功能键
@ -9387,6 +9496,20 @@
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor(System.Int32,System.String,SysFuns.KeyModifiers,System.Windows.Forms.Keys)">
<summary>
热键类型
</summary>
<param name="id"></param>
<param name="Tag"></param>
<param name="fsModifiers"></param>
<param name="vk"></param>
</member>
<member name="M:SysFuns.HotKeyType.#ctor">
<summary>
热键类型
</summary>
</member>
<member name="T:WinAPI.Kernel32">
<summary>

View File

@ -4,6 +4,830 @@
<name>ryControls</name>
</assembly>
<members>
<member name="T:PresentationControls.CheckBoxComboBox">
<summary>
Martin Lottering : 2007-10-27
--------------------------------
This is a usefull control in Filters. Allows you to save space and can replace a Grouped Box of CheckBoxes.
Currently used on the TasksFilter for TaskStatusses, which means the user can select which Statusses to include
in the "Search".
This control does not implement a CheckBoxListBox, instead it adds a wrapper for the normal ComboBox and Items.
See the CheckBoxItems property.
----------------
ALSO IMPORTANT: In Data Binding when setting the DataSource. The ValueMember must be a bool type property, because it will
be binded to the Checked property of the displayed CheckBox. Also see the DisplayMemberSingleItem for more information.
----------------
Extends the CodeProject PopupComboBox "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp"
by Lukasz Swiatkowski.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.#ctor">
<summary>
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._CheckBoxComboBoxListControl">
<summary>
The checkbox list control. The public CheckBoxItems property provides a direct reference to its Items.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBox._DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation and its formatting however is controlled
by the Binded object, since it owns that property.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.GetCSVText(System.Boolean)">
<summary>
Builds a CSV string of the items selected.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxItems">
<summary>
A direct reference to the Items of CheckBoxComboBoxListControl.
You can use it to Get or Set the Checked status of items manually if you want.
But do not manipulate the List itself directly, e.g. Adding and Removing,
since the list is synchronised when shown with the ComboBox.Items. So for changing
the list contents, use Items instead.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DataSource">
<summary>
The DataSource of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.ValueMember">
<summary>
The ValueMember of the combobox. Refreshes the CheckBox wrappers when this is set.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.DisplayMemberSingleItem">
<summary>
In DataBinding operations, this property will be used as the DisplayMember in the CheckBoxComboBoxListBox.
The normal/existing "DisplayMember" property is used by the TextBox of the ComboBox to display
a concatenated Text of the items selected. This concatenation however is controlled by the Binded
object, since it owns that property.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.Items">
<summary>
Made this property Browsable again, since the Base Popup hides it. This class uses it again.
Gets an object representing the collection of the items contained in this
System.Windows.Forms.ComboBox.
</summary>
<returns>A System.Windows.Forms.ComboBox.ObjectCollection representing the items in
the System.Windows.Forms.ComboBox.
</returns>
</member>
<member name="E:PresentationControls.CheckBoxComboBox.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnDropDownStyleChanged(System.EventArgs)">
<summary>
Will add an invisible item when the style is DropDownList,
to help maintain the correct text in main TextBox.
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.OnResize(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Clear">
<summary>
A function to clear/reset the list.
(Ubiklou : http://www.codeproject.com/KB/combobox/extending_combobox.aspx?msg=2526813#xx2526813xx)
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.ClearSelection">
<summary>
Uncheck all items.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBox.CheckBoxProperties">
<summary>
The properties that will be assigned to the checkboxes as default values.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
</summary>
<param name="m"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.CheckBoxComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControlContainer">
<summary>
A container control for the ListControl to ensure the ScrollBar on the ListControl does not
Paint over the Size grip. Setting the Padding or Margin on the Popup or host control does
not work as I expected.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.#ctor">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControlContainer.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup class to ensure Resize operations work correctly.
</summary>
<param name="m"></param>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxListControl">
<summary>
This ListControl that pops up to the User. It contains the CheckBoxComboBoxItems.
The items are docked DockStyle.Top in this control.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="owner"></param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._CheckBoxComboBox">
<summary>
Simply a reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxListControl._Items">
<summary>
A Typed list of ComboBoxCheckBoxItems.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxListControl.Items">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.WndProc(System.Windows.Forms.Message@)">
<summary>
Prescribed by the Popup control to enable Resize operations.
</summary>
<param name="m"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxListControl.SynchroniseControlsWithComboBoxItems">
<summary>
Maintains the controls displayed in the list by keeping them in sync with the actual
items in the combobox. (e.g. removing and adding as well as ordering)
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItem">
<summary>
The CheckBox items displayed in the Popup of the ComboBox.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.#ctor(PresentationControls.CheckBoxComboBox,System.Object)">
<summary>
</summary>
<param name="owner">A reference to the CheckBoxComboBox.</param>
<param name="comboBoxItem">A reference to the item in the ComboBox.Items that this object is extending.</param>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._CheckBoxComboBox">
<summary>
A reference to the CheckBoxComboBox.
</summary>
</member>
<member name="F:PresentationControls.CheckBoxComboBoxItem._ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItem.ComboBoxItem">
<summary>
A reference to the Item in ComboBox.Items that this object is extending.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.AddBindings">
<summary>
When using Data Binding operations via the DataSource property of the ComboBox. This
adds the required Bindings for the CheckBoxes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.OnCheckedChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItem.CheckBoxComboBoxItem_PropertyChanged(System.Object,System.ComponentModel.PropertyChangedEventArgs)">
<summary>
Added this handler because the control doesn't seem
to initialize correctly until shown for the first
time, which also means the summary text value
of the combo is out of sync initially.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxComboBoxItemList">
<summary>
A Typed List of the CheckBox items.
Simply a wrapper for the CheckBoxComboBox.Items. A list of CheckBoxComboBoxItem objects.
This List is automatically synchronised with the Items of the ComboBox and extended to
handle the additional boolean value. That said, do not Add or Remove using this List,
it will be lost or regenerated from the ComboBox.Items.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.#ctor(PresentationControls.CheckBoxComboBox)">
<summary>
</summary>
<param name="checkBoxComboBox"></param>
</member>
<member name="E:PresentationControls.CheckBoxComboBoxItemList.CheckBoxCheckedChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.OnCheckBoxCheckedChanged(System.Object,System.EventArgs)">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Add(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.AddRange(System.Collections.Generic.IEnumerable{PresentationControls.CheckBoxComboBoxItem})">
<summary>
</summary>
<param name="collection"></param>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Clear">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxComboBoxItemList.Remove(PresentationControls.CheckBoxComboBoxItem)">
<summary>
</summary>
<param name="item"></param>
<returns></returns>
</member>
<member name="P:PresentationControls.CheckBoxComboBoxItemList.Item(System.String)">
<summary>
Returns the item with the specified displayName or Text.
</summary>
</member>
<member name="T:PresentationControls.CheckBoxProperties">
<summary>
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.#ctor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.Appearance">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoCheck">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoEllipsis">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.AutoSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.CheckAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceBorderSize">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceCheckedBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseDownBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatAppearanceMouseOverBackColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.FlatStyle">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ForeColor">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.RightToLeft">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.TextAlign">
<summary>
</summary>
</member>
<member name="P:PresentationControls.CheckBoxProperties.ThreeState">
<summary>
</summary>
</member>
<member name="E:PresentationControls.CheckBoxProperties.PropertyChanged">
<summary>
Called when any property changes.
</summary>
</member>
<member name="M:PresentationControls.CheckBoxProperties.OnPropertyChanged">
<summary>
</summary>
</member>
<member name="T:PresentationControls.GripBounds">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.NativeMethods">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
</summary>
</member>
<member name="T:PresentationControls.Popup">
<summary>
CodeProject.com Simple pop-up control http://www.codeproject.com/cs/miscctrl/simplepopup.asp.
Represents a pop-up window.
</summary>
</member>
<member name="P:PresentationControls.Popup.Content">
<summary>
Gets the content of the pop-up.
</summary>
</member>
<member name="P:PresentationControls.Popup.UseFadeEffect">
<summary>
Gets a value indicating whether the PopupControl.Popup uses the fade effect.
</summary>
<value><c>true</c> if pop-up uses the fade effect; otherwise, <c>false</c>.</value>
<remarks>To use the fade effect, the FocusOnOpen property also has to be set to <c>true</c>.</remarks>
</member>
<member name="P:PresentationControls.Popup.FocusOnOpen">
<summary>
Gets or sets a value indicating whether to focus the content after the pop-up has been opened.
</summary>
<value><c>true</c> if the content should be focused after the pop-up has been opened; otherwise, <c>false</c>.</value>
<remarks>If the FocusOnOpen property is set to <c>false</c>, then pop-up cannot use the fade effect.</remarks>
</member>
<member name="P:PresentationControls.Popup.AcceptAlt">
<summary>
Gets or sets a value indicating whether presing the alt key should close the pop-up.
</summary>
<value><c>true</c> if presing the alt key does not close the pop-up; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.Resizable">
<summary>
Gets or sets a value indicating whether this PopupControl.Popup is resizable.
</summary>
<value><c>true</c> if resizable; otherwise, <c>false</c>.</value>
</member>
<member name="P:PresentationControls.Popup.MinimumSize">
<summary>
Gets or sets the size that is the lower limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.MaximumSize">
<summary>
Gets or sets the size that is the upper limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
</summary>
<returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
</member>
<member name="P:PresentationControls.Popup.CreateParams">
<summary>
Gets parameters of a new window.
</summary>
<returns>An object of type <see cref="T:System.Windows.Forms.CreateParams" /> used when creating a new window.</returns>
</member>
<member name="M:PresentationControls.Popup.#ctor(System.Windows.Forms.Control)">
<summary>
Initializes a new instance of the PopupControl.Popup class.
</summary>
<param name="content">The content of the pop-up.</param>
<remarks>
Pop-up will be disposed immediately after disposion of the content control.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="content" /> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.ProcessDialogKey(System.Windows.Forms.Keys)">
<summary>
Processes a dialog box key.
</summary>
<param name="keyData">One of the <see cref="T:System.Windows.Forms.Keys" /> values that represents the key to process.</param>
<returns>
true if the key was processed by the control; otherwise, false.
</returns>
</member>
<member name="M:PresentationControls.Popup.UpdateRegion">
<summary>
Updates the pop-up region.
</summary>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control)">
<summary>
Shows pop-up window below the specified control.
</summary>
<param name="control">The control below which the pop-up will be shown.</param>
<remarks>
When there is no space below the specified control, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.Show(System.Windows.Forms.Control,System.Drawing.Rectangle)">
<summary>
Shows pop-up window below the specified area of specified control.
</summary>
<param name="control">The control used to compute screen location of specified area.</param>
<param name="area">The area of control below which the pop-up will be shown.</param>
<remarks>
When there is no space below specified area, the pop-up control is shown above it.
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
</member>
<member name="M:PresentationControls.Popup.SetVisibleCore(System.Boolean)">
<summary>
Adjusts the size of the owner <see cref="T:System.Windows.Forms.ToolStrip" /> to accommodate the <see cref="T:System.Windows.Forms.ToolStripDropDown" /> if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed, or clears and resets active <see cref="T:System.Windows.Forms.ToolStripDropDown" /> child controls of the <see cref="T:System.Windows.Forms.ToolStrip" /> if the <see cref="T:System.Windows.Forms.ToolStrip" /> is not currently displayed.
</summary>
<param name="visible">true if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.OnSizeChanged(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.Control.SizeChanged" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpening(System.ComponentModel.CancelEventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opening" /> event.
</summary>
<param name="e">A <see cref="T:System.ComponentModel.CancelEventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnOpened(System.EventArgs)">
<summary>
Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opened" /> event.
</summary>
<param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
</member>
<member name="M:PresentationControls.Popup.OnClosed(System.Windows.Forms.ToolStripDropDownClosedEventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="F:PresentationControls.Popup.LastClosedTimeStamp">
<summary>
</summary>
</member>
<member name="M:PresentationControls.Popup.OnVisibleChanged(System.EventArgs)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="M:PresentationControls.Popup.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="M:PresentationControls.Popup.ProcessResizing(System.Windows.Forms.Message@)">
<summary>
Processes the resizing messages.
</summary>
<param name="m">The message.</param>
<returns>true, if the WndProc method from the base class shouldn't be invoked.</returns>
</member>
<member name="M:PresentationControls.Popup.PaintSizeGrip(System.Windows.Forms.PaintEventArgs)">
<summary>
Paints the size grip.
</summary>
<param name="e">The <see cref="T:System.Windows.Forms.PaintEventArgs" /> instance containing the event data.</param>
</member>
<member name="F:PresentationControls.Popup.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.Popup.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.Popup.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.PopupComboBox">
<summary>
CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
Represents a Windows combo box control with a custom popup control attached.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.#ctor">
<summary>
Initializes a new instance of the PopupControl.PopupComboBox class.
</summary>
</member>
<member name="F:PresentationControls.PopupComboBox.dropDown">
<summary>
The pop-up wrapper for the dropDownControl.
Made PROTECTED instead of PRIVATE so descendent classes can set its Resizable property.
Note however the pop-up properties must be set after the dropDownControl is assigned, since this
popup wrapper is recreated when the dropDownControl is assigned.
</summary>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownControl">
<summary>
Gets or sets the drop down control.
</summary>
<value>The drop down control.</value>
</member>
<member name="M:PresentationControls.PopupComboBox.ShowDropDown">
<summary>
Shows the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.HideDropDown">
<summary>
Hides the drop down.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.WndProc(System.Windows.Forms.Message@)">
<summary>
Processes Windows messages.
</summary>
<param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownWidth">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.DropDownHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.IntegralHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.Items">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="P:PresentationControls.PopupComboBox.ItemHeight">
<summary>This property is not relevant for this class.</summary>
<returns>This property is not relevant for this class.</returns>
</member>
<member name="F:PresentationControls.PopupComboBox.components">
<summary>
Required designer variable.
</summary>
</member>
<member name="M:PresentationControls.PopupComboBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:PresentationControls.PopupComboBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="T:PresentationControls.ListSelectionWrapper`1">
<summary>
Maintains an additional "Selected" and "Count" value for each item in a List.
Useful in the CheckBoxComboBox. It holds a reference to the List[Index] Item and
whether it is selected or not.
It also caters for a Count, if needed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed. And no Counts will be displayed
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean)">
<summary>
No property on the object is specified for display purposes, so simple ToString() operation
will be performed.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.#ctor(System.Collections.IEnumerable,System.Boolean,System.String)">
<summary>
A Display "Name" property is specified. ToString() will not be performed on items.
This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
If a PropertyDescriptor is not found, a Property will be used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._ShowCounts">
<summary>
Is a Count indicator used.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._Source">
<summary>
The original List of values wrapped. A "Selected" and possibly "Count" functionality is added.
</summary>
</member>
<member name="F:PresentationControls.ListSelectionWrapper`1._DisplayNameProperty">
<summary>
Used to indicate NOT to use ToString(), but read this property instead as a display value.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.DisplayNameProperty">
<summary>
When specified, indicates that ToString() should not be performed on the items.
This property will be read instead.
This is specifically useful on DataTable implementations, where PropertyDescriptors are used to read the values.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.SelectedNames">
<summary>
Builds a concatenation list of selected items in the list.
</summary>
</member>
<member name="P:PresentationControls.ListSelectionWrapper`1.ShowCounts">
<summary>
Indicates whether the Item display value (Name) should include a count.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.ClearCounts">
<summary>
Reset all counts to zero.
</summary>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.CreateSelectionWrapper(System.Collections.IEnumerator)">
<summary>
Creates a ObjectSelectionWrapper item.
Note that the constructor signature of sub classes classes are important.
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="M:PresentationControls.ListSelectionWrapper`1.FindObjectWithItem(`0)">
<summary>
</summary>
<param name="Object"></param>
<returns></returns>
</member>
<member name="T:PresentationControls.ObjectSelectionWrapper`1">
<summary>
Used together with the ListSelectionWrapper in order to wrap data sources for a CheckBoxComboBox.
It helps to ensure you don't add an extra "Selected" property to a class that don't really need or want that information.
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.#ctor(`0,PresentationControls.ListSelectionWrapper{`0})">
<summary>
</summary>
<param name="item"></param>
<param name="container"></param>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Count">
<summary>
Used as a count indicator for the item. Not necessarily displayed.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Selected">
<summary>
Is this item selected.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Item">
<summary>
A reference to the wrapped item.
</summary>
</member>
<member name="F:PresentationControls.ObjectSelectionWrapper`1._Container">
<summary>
The containing list for these selections.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Count">
<summary>
An indicator of how many items with the specified status is available for the current filter level.
Thaught this would make the app a bit more user-friendly and help not to miss items in Statusses
that are not often used.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Item">
<summary>
A reference to the item wrapped.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Name">
<summary>
The item display value. If ShowCount is true, it displays the "Name [Count]".
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.NameConcatenated">
<summary>
The textbox display value. The names concatenated.
</summary>
</member>
<member name="P:PresentationControls.ObjectSelectionWrapper`1.Selected">
<summary>
Indicates whether the item is selected.
</summary>
</member>
<member name="E:PresentationControls.ObjectSelectionWrapper`1.PropertyChanged">
<summary>
</summary>
</member>
<member name="M:PresentationControls.ObjectSelectionWrapper`1.OnPropertyChanged(System.String)">
<summary>
</summary>
<param name="propertyName"></param>
</member>
<member name="T:ButtonImages.State">
<summary>
控件状态
@ -8757,6 +9581,15 @@
皮肤主题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMProgressBar.SetPercent(System.Int32,System.Int32,System.Int32)">
<summary>
设置百分比
</summary>
<param name="value"></param>
<param name="min"></param>
<param name="max"></param>
<returns></returns>
</member>
<member name="M:MGdu.WinFormUI.GMScrollBarBase.OnValueChanged(System.EventArgs)">
<summary>
引发 ValueChanged 事件
@ -8870,7 +9703,7 @@
布局比较简单的Object
</summary>
</member>
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Int32,System.Boolean,System.Drawing.Font)">
<member name="M:MGdu.WinFormUI.SimpleObjectPainter.RenderCircleProgressBar(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Boolean,System.Int32,System.Single,System.Boolean,System.Drawing.Font)">
<summary>
</summary>
@ -24389,65 +25222,79 @@
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.UseStandardBar">
<summary>
Should this bar be drawn in the system style?
此栏是否应以系统样式绘制?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Padding">
<summary>
How many pixels in from our cell border will this bar be drawn
将从我们的单元格边框开始绘制多少像素的条形图
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundColor">
<summary>
What color will be used to fill the interior of the control before the
progress bar is drawn?
</summary>
<summary>
在绘制进度条之前,将使用什么颜色填充控件内部?
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameColor">
<summary>
What color should the frame of the progress bar be?
进度条边框颜色
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FrameWidth">
<summary>
How many pixels wide should the frame of the progress bar be?
进度条的边框像素宽
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.FillColor">
<summary>
What color should the 'filled in' part of the progress bar be?
进度条的“填充”部分应该是什么颜色?
</summary>
<remarks>This is only used if GradientStartColor is Color.Empty</remarks>
<remarks>仅当GradientStartColor为Color.Empty时才使用此选项</remarks>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientStartColor">
<summary>
Use a gradient to fill the progress bar starting with this color
使用渐变以此颜色开始填充进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.GradientEndColor">
<summary>
Use a gradient to fill the progress bar ending with this color
使用渐变填充以此颜色结尾的进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientStartColor">
<summary>
使用渐变以此颜色开始填充渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearGradientEndColor">
<summary>
使用渐变填充以此颜色结尾的渐满进度条
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumWidth">
<summary>
Regardless of how wide the column become the progress bar will never be wider than this
无论列变得多宽,进度条都不会比这个宽。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumHeight">
<summary>
Regardless of how high the cell is the progress bar will never be taller than this
无论单元格有多高,进度条都不会比这个高
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MinimumValue">
<summary>
The minimum data value expected. Values less than this will given an empty bar
预期的最小数据值。小于此值的值将显示一个空条。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearFullValue">
<summary>
接近满时的值,高于该值时显示不同颜色小于等于MinimumValue或大于MaximumValue值则表示未设置该值
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.MaximumValue">
<summary>
The maximum value for the range. Values greater than this will give a full bar
</summary>
<summary>
范围的最大值。大于此值的值将给出一个完整的条形。
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.Pen">
<summary>
@ -24459,6 +25306,11 @@
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.NearBrush">
<summary>
The brush that will be used to fill the bar
</summary>
</member>
<member name="P:BrightIdeasSoftware.BarRenderer.BackgroundBrush">
<summary>
The brush that will be used to fill the background of the bar
@ -28225,7 +29077,7 @@
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.#ctor">
<summary>
Initializes a new instance of the <see cref="!:PopupControl.ComboBox" /> class.
Initializes a new instance of the PopupControl.ComboBox class.
</summary>
</member>
<member name="M:Sheng.Winform.Controls.PopupControl.PopupControlComboBoxBase.OnDropDown(System.EventArgs)">

View File

@ -1,4 +1,14 @@
### 2021-10-01更新
### 2021-12-14更新
------
#### MyDbV4 V3.0.2112.1401
- *.[修复]修复MSSQL的ExecuteNonQuery函数可能因为报错导致软件崩溃的BUG。
### 2021-10-26更新
------
#### MyDbV4 V3.0.2110.2601
- *.[修复]修复Replace忽略大小替换函数只会替换成空字符串的BUG。
### 2021-10-01更新
------
#### ryControls V3.0.2110.0101
- *.[改进]ObjectListView的FindMatchInRange方法改为包含关系而不是开头匹配。

View File

@ -0,0 +1,51 @@
{
"Version": 1,
"ProjectMap": {
"9df20d86-a56e-4cf6-a3d8-f30421297b1b": {
"ProjectGuid": "9df20d86-a56e-4cf6-a3d8-f30421297b1b",
"DisplayName": "MyDbV4",
"ColorIndex": 0
},
"11a63e24-0257-4c54-a109-f1a609a52a62": {
"ProjectGuid": "11a63e24-0257-4c54-a109-f1a609a52a62",
"DisplayName": "ryUpdateV4",
"ColorIndex": 1
},
"9eca3a84-8545-4c4d-84d6-d23e3bdf2d90": {
"ProjectGuid": "9eca3a84-8545-4c4d-84d6-d23e3bdf2d90",
"DisplayName": "ryControlsV4",
"ColorIndex": 2
},
"dc9fdb61-fedd-4795-afdc-8376ab781c56": {
"ProjectGuid": "dc9fdb61-fedd-4795-afdc-8376ab781c56",
"DisplayName": "Itrycn_Project2",
"ColorIndex": 3
},
"6b969ce8-d723-4b2c-a8fd-fad2fb28ff01": {
"ProjectGuid": "6b969ce8-d723-4b2c-a8fd-fad2fb28ff01",
"DisplayName": "MyDb_SQLiteV4",
"ColorIndex": 4
},
"de092c43-1ab5-4229-8ec8-35c9936c4331": {
"ProjectGuid": "de092c43-1ab5-4229-8ec8-35c9936c4331",
"DisplayName": "MyDb_MySQLV4",
"ColorIndex": 5
},
"b6784652-825a-482c-8a21-08e2539af2bf": {
"ProjectGuid": "b6784652-825a-482c-8a21-08e2539af2bf",
"DisplayName": "RyPrint",
"ColorIndex": 6
},
"a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": {
"ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3",
"DisplayName": "杂项文件",
"ColorIndex": -1
},
"62b5c3e8-4af1-4a7f-a40b-a6186f83dbd2": {
"ProjectGuid": "62b5c3e8-4af1-4a7f-a40b-a6186f83dbd2",
"DisplayName": "Itrycn_Project",
"ColorIndex": 7
}
},
"NextColorIndex": 8
}

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Itrycn_Project2.Config
{
class Init
{
static System.Threading.Mutex run;
public static void Show(string[] args)
{
Soft_ConstInfo.SysDataFolder = ryCommon.RyFiles.GetRealPath(Soft_ConstInfo.SysDataFolder);
Soft_ConstInfo.UserDataFolder = ryCommon.RyFiles.GetRealPath(Soft_ConstInfo.UserDataFolder);
run = new System.Threading.Mutex(true, Soft_ConstInfo.Soft_Id, out bool runone);
if (!runone) //已经运行了
{
ryCommon.Ini ini = new ryCommon.Ini(Soft_ConstInfo.UserDataFolder + "\\Win.dat");
ryControls.Win32.SendMessage((IntPtr)ini.ReadIni(Soft_ConstInfo.Soft_Id, "hwnd", 0), 17189, 100, 100);
}
else
{
Application.Run(new FrmStart(args));
//Application.Run(new WindowsFormsApp2.Form1());
}
}
}
}

View File

@ -43,14 +43,9 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.chromeTabControl1 = new ryControls.ChromeTabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.chromeTabControl2 = new ryControls.ChromeTabControl();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.MenuTray.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.chromeTabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.chromeTabControl2.SuspendLayout();
this.SuspendLayout();
//
// notifyIcon1
@ -153,7 +148,6 @@
//
// tabPage1
//
this.tabPage1.Controls.Add(this.chromeTabControl2);
this.tabPage1.Location = new System.Drawing.Point(1, 29);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
@ -162,45 +156,6 @@
this.tabPage1.Text = "首页";
this.tabPage1.UseVisualStyleBackColor = true;
//
// chromeTabControl2
//
this.chromeTabControl2.AllowDragTab = true;
this.chromeTabControl2.BackTabPageImage = null;
this.chromeTabControl2.Controls.Add(this.tabPage2);
this.chromeTabControl2.Controls.Add(this.tabPage3);
this.chromeTabControl2.Cursor = System.Windows.Forms.Cursors.Default;
this.chromeTabControl2.ItemSize = new System.Drawing.Size(185, 25);
this.chromeTabControl2.Location = new System.Drawing.Point(306, 57);
this.chromeTabControl2.Name = "chromeTabControl2";
this.chromeTabControl2.SelectedIndex = 0;
this.chromeTabControl2.ShowAddButton = true;
this.chromeTabControl2.ShowCloseButton = true;
this.chromeTabControl2.Size = new System.Drawing.Size(401, 255);
this.chromeTabControl2.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.chromeTabControl2.TabContextMenuStrip = null;
this.chromeTabControl2.TabIndex = 0;
this.chromeTabControl2.TabMaxWidth = 200;
//
// tabPage2
//
this.tabPage2.Location = new System.Drawing.Point(1, 29);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(399, 225);
this.tabPage2.TabIndex = 0;
this.tabPage2.Text = "tabPage2";
this.tabPage2.UseVisualStyleBackColor = true;
//
// tabPage3
//
this.tabPage3.Location = new System.Drawing.Point(1, 29);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(399, 225);
this.tabPage3.TabIndex = 1;
this.tabPage3.Text = "tabPage3";
this.tabPage3.UseVisualStyleBackColor = true;
//
// FrmStart
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -219,8 +174,6 @@
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.chromeTabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.chromeTabControl2.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@ -239,8 +192,5 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.TabPage tabPage1;
private ryControls.ChromeTabControl chromeTabControl1;
private ryControls.ChromeTabControl chromeTabControl2;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
}
}

View File

@ -130,8 +130,6 @@ namespace Itrycn_Project2
private void FrmStart_Load(object sender, EventArgs e)
{
Public_Config.LoadSetting();
RyFiles.AddDropDrag(tabPage1.Handle);
RySystem.GetOSystemVer();
//Itrycn_Project.Itrycn_Db.CreateTable();
//var dbver = Itrycn_Db.GetDbVer();
//if(dbver==1) //初始版本,并是当前要求的数据库
@ -151,18 +149,6 @@ namespace Itrycn_Project2
//db.Free();
LiveUpdate.RyUpdate update = new LiveUpdate.RyUpdate(Soft_ConstInfo.Update_Url);
update.CheckUpdate();
var http = new DotNet4.Utilities.HttpHelper();
var item = new DotNet4.Utilities.HttpItem
{
URL = "http://www.huaan.cn/api/applet/qrcode/queryComponent",
Method = "POST",
IsToLower = false,
Postdata = "{\"tempId\":1619,\"excludeVisibility\":4,\"status\":1,\"valueStatus\":1,\"visibleAndEditableUserId\":3}",
ContentType = "application/json",
ProtocolVersion = System.Net.HttpVersion.Version11,
ProxyIp = "192.168.1.12"
};
var r= http.GetHtml(item);
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)

View File

@ -64,6 +64,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="clsForm.cs" />
<Compile Include="Config\Init.cs" />
<Compile Include="Config\Itrycn_Db.cs" />
<Compile Include="Config\Public_Config.cs" />
<Compile Include="DbOp\FrmAdd.cs">

View File

@ -4,6 +4,7 @@ using ryCommon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
@ -11,47 +12,46 @@ namespace Itrycn_Project2
{
static class Program
{
static System.Threading.Mutex run;
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
Application.ThreadException += Application_ThreadException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Soft_ConstInfo.SysDataFolder = ryCommon.RyFiles.GetRealPath(Soft_ConstInfo.SysDataFolder);
Soft_ConstInfo.UserDataFolder = ryCommon.RyFiles.GetRealPath(Soft_ConstInfo.UserDataFolder);
run = new System.Threading.Mutex(true, Soft_ConstInfo.Soft_Id, out bool runone);
if (!runone) //已经运行了
{
ryCommon.Ini ini = new ryCommon.Ini(Soft_ConstInfo.UserDataFolder + "\\Win.dat");
ryControls.Win32.SendMessage((IntPtr)ini.ReadIni(Soft_ConstInfo.Soft_Id, "hwnd", 0), 17189, 100, 100);
}
else
{
//Application.Run(new FrmStart(args));
Application.Run(new FrmStart(args));
}
//FrmLogin frm = new FrmLogin();
//if (frm.ShowDialog() == DialogResult.OK)
//{
// Application.Run(new Frmmain());
//}
Config.Init.Show(args);
}
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
Exception ex = e.ExceptionObject as Exception;
MessageBox.Show(string.Format("捕获到未处理异常:{0}\r\n异常信息{1}\r\n异常堆栈{2}\r\nCLR即将退出{3}", ex.GetType(), ex.Message, ex.StackTrace, e.IsTerminating));
RyFiles.WriteAllText(Application.StartupPath + "\\错误.txt", DateTime.Now.ToString() + "\r\n\r\n错误描述:" + ex.Message + "\r\n\r\n异常堆栈" + ex.StackTrace + "\r\n\r\n异常方法" + ex.TargetSite, Encoding.UTF8);
System.IO.File.WriteAllText(Application.StartupPath + "\\错误.txt", DateTime.Now.ToString() + "\r\n\r\n错误描述:" + ex.Message + "\r\n\r\n异常堆栈" + ex.StackTrace + "\r\n\r\n异常方法" + ex.TargetSite, Encoding.UTF8);
}
static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
{
Exception ex = e.Exception;
MessageBox.Show(string.Format("捕获到未处理异常:{0}\r\n异常信息{1}\r\n异常堆栈{2}", ex.GetType(), ex.Message, ex.StackTrace));
RyFiles.WriteAllText(Application.StartupPath + "\\线程错误.txt", DateTime.Now.ToString() + "\r\n\r\n错误描述:" + ex.Message + "\r\n\r\n异常堆栈" + ex.StackTrace + "\r\n\r\n异常方法" + ex.TargetSite, Encoding.UTF8);
MessageBox.Show(string.Format("捕获到未处理异常:{0}\r\n异常信息{1}\r\n异常堆栈{2}", ex.GetType(), ex.Message, ex.StackTrace));
System.IO.File.WriteAllText(Application.StartupPath + "\\线程错误.txt", DateTime.Now.ToString() + "\r\n\r\n错误描述:" + ex.Message + "\r\n\r\n异常堆栈" + ex.StackTrace + "\r\n\r\n异常方法" + ex.TargetSite, Encoding.UTF8);
}
static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
AssemblyName assemblyName = new AssemblyName(args.Name);
if (System.IO.File.Exists(Application.StartupPath + @"\" + assemblyName.Name + ".dll"))
{
return Assembly.LoadFrom(Application.StartupPath + @"\" + assemblyName.Name + ".dll");
}
else if (System.IO.File.Exists(Application.StartupPath + @"\Bin\dlls\" + assemblyName.Name + ".dll"))
{
return Assembly.LoadFrom(Application.StartupPath + @"\Bin\dlls\" + assemblyName.Name + ".dll");
}
else
{
return args.RequestingAssembly;
}
}
}
}

View File

@ -357,7 +357,7 @@ namespace ryCommon
var pos = str_tmp.IndexOfEx(oldValue);
while(pos>=0)
{
str2 += str_tmp.Substring(0, pos);
str2 += str_tmp.Substring(0, pos)+newValue;
str_tmp = str_tmp.Substring(pos + oldValue.Length);
pos = str_tmp.IndexOfEx(oldValue);
}

View File

@ -1062,6 +1062,50 @@ namespace ryCommon
m.Save(path, GetEncoderInfo(type), GetEncoderParameters());
}
/// <summary>
/// 保存高质量不失真照片
/// </summary>
/// <param name="m"></param>
/// <param name="path"></param>
public static bool SaveHighQualityImage(Bitmap m, string path)
{
return SaveHighQualityImage((Image)m,path);
}
/// <summary>
/// 保存高质量不失真照片
/// </summary>
/// <param name="m"></param>
/// <param name="path"></param>
public static bool SaveHighQualityImage(Image m, string path)
{
ryCommon.sType.ImageType type = sType.ImageType.Png;
var ext = System.IO.Path.GetExtension(path).ToLower();
switch (ext)
{
case ".png":
m.Save(path, GetEncoderInfo(type), GetEncoderParameters());
break;
case ".jpg":
type = sType.ImageType.Jpeg;
m.Save(path, GetEncoderInfo(type), GetEncoderParameters());
break;
case ".bmp":
type = sType.ImageType.Bmp;
m.Save(path, GetEncoderInfo(type), GetEncoderParameters());
break;
case ".gif":
type = sType.ImageType.Gif;
m.Save(path, GetEncoderInfo(type), GetEncoderParameters());
break;
case ".tif":
type = sType.ImageType.Tiff;
m.Save(path, GetEncoderInfo(type), GetEncoderParameters());
break;
default:
return false;
}
return true;
}
/// <summary>
/// 获取绝对路径
/// </summary>
/// <param name="_path"></param>

View File

@ -247,15 +247,19 @@ namespace ryCommonDb
/// <returns></returns>
public int ExecuteNonQuery(string sql, object[] Parameter)
{
DataCommand cmd = myDb.SQL_cn.CreateCommand();
cmd.Parameters.Clear();
if(Parameter!=null)
cmd.Parameters.AddRange(Parameter);
cmd.CommandText = sql;
int i= cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
cmd.Dispose();
return i;
try
{
DataCommand cmd = myDb.SQL_cn.CreateCommand();
cmd.Parameters.Clear();
if (Parameter != null)
cmd.Parameters.AddRange(Parameter);
cmd.CommandText = sql;
int i = cmd.ExecuteNonQuery();
cmd.Parameters.Clear();
cmd.Dispose();
return i;
}
catch { return -1; }
}
/// <summary>
/// 执行SQL语句

View File

@ -32,5 +32,5 @@ using System;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.2110.0101")]
[assembly: AssemblyFileVersion("3.0.2110.0101")]
[assembly: AssemblyVersion("3.0.2112.1401")]
[assembly: AssemblyFileVersion("3.0.2112.1401")]

View File

@ -13,6 +13,21 @@ namespace RyWeb
/// </summary>
public class QuickWeb
{
/// <summary>
///
/// </summary>
public QuickWeb()
{
}
/// <summary>
///
/// </summary>
/// <param name="Timeout">超时时间</param>
public QuickWeb(int Timeout)
{
this.Timeout= Timeout;
}
/// <summary>
/// 以post方式获取网页源码
/// </summary>
@ -68,7 +83,8 @@ namespace RyWeb
ReadWriteTimeout = Timeout,
UserAgent = UserAgent,
Referer=Referer,
KeepAlive = false
KeepAlive = false,
ProxyIp= ProxyIp
};
if (cookie.Length > 0)
{
@ -124,7 +140,8 @@ namespace RyWeb
ReadWriteTimeout = Timeout,
UserAgent = UserAgent,
Referer = Referer,
KeepAlive=false
KeepAlive=false,
ProxyIp = ProxyIp
};
HttpResult r = t.GetHtml(m);
if (r.StatusCode == System.Net.HttpStatusCode.OK)
@ -182,6 +199,10 @@ namespace RyWeb
}
}
/// <summary>
/// 代理
/// </summary>
public string ProxyIp { get; set; }
/// <summary>
///
/// </summary>
public string UserAgent
@ -214,6 +235,7 @@ namespace RyWeb
m.Timeout = Timeout;
m.ReadWriteTimeout = Timeout;
m.Referer = Referer;
m.ProxyIp = ProxyIp;
HttpResult r = t.GetHtml(m);
return r;
}
@ -253,6 +275,7 @@ namespace RyWeb
m.Timeout = Timeout;
m.ReadWriteTimeout = Timeout;
m.Referer = Referer;
m.ProxyIp = ProxyIp;
HttpResult r = t.GetHtml(m);
return r;
}

View File

@ -26,9 +26,25 @@ namespace SysFuns
/// </summary>
Ctrl = 2,
/// <summary>
/// Alt+Ctrl键
/// </summary>
AltAndCtrl = 3,
/// <summary>
/// Shift键
/// </summary>
Shift = 4,
Shift = 4,
/// <summary>
/// Shift+Alt键
/// </summary>
AltAndShift = 5,
/// <summary>
/// Shift+Ctrl键
/// </summary>
CtrlAndShift = 6,
/// <summary>
/// Alt+Shift+Ctrl键
/// </summary>
AltAndCtrlAndShift = 7,
/// <summary>
/// Win键
/// </summary>
@ -86,7 +102,69 @@ namespace SysFuns
System.Windows.Forms.Application.RemoveMessageFilter(this);
}
readonly List<HotKeyType> list_hotkey = new List<HotKeyType>();
readonly List<HotKeyType> list_hotkey = new List<HotKeyType>();
/// <summary>
/// 获取热键Tag
/// </summary>
/// <param name="HotId"></param>
/// <returns></returns>
public string GetTag(int HotId)
{
var index = list_hotkey.FindIndex(a => a.id == HotId);
return index >= 0 ? list_hotkey[index].Tag : "";
}
/// <summary>
/// 获取热键id
/// </summary>
/// <param name="Tag"></param>
/// <returns></returns>
public int GetHotId(string Tag)
{
var index= list_hotkey.FindIndex(a => a.Tag == Tag);
return index >= 0 ? list_hotkey[index].id : -1;
}
/// <summary>
/// 获取热键id
/// </summary>
/// <param name="fsModifiers"></param>
/// <param name="vk"></param>
/// <returns></returns>
public int GetHotId(KeyModifiers fsModifiers, Keys vk)
{
var index = list_hotkey.FindIndex(a => a.fsModifiers == fsModifiers && a.vk == vk);
return index >= 0 ? list_hotkey[index].id : -1;
}
/// <summary>
/// 判断热键id是否存在
/// </summary>
/// <param name="hotId"></param>
/// <returns></returns>
public bool IsExist(int hotId)
{
var index = list_hotkey.FindIndex(a => a.id == hotId);
return index >= 0;
}
/// <summary>
/// 判断热键Tag是否存在
/// </summary>
/// <param name="Tag"></param>
/// <returns></returns>
public bool IsExist(string Tag)
{
var index = list_hotkey.FindIndex(a => a.Tag == Tag);
return index >= 0;
}
/// <summary>
/// 判断热键是否存在
/// </summary>
/// <param name="fsModifiers"></param>
/// <param name="vk"></param>
/// <returns></returns>
public bool IsExist(KeyModifiers fsModifiers, Keys vk)
{
var index = list_hotkey.FindIndex(a => a.fsModifiers == fsModifiers && a.vk==vk);
return index >= 0;
}
/// <summary>
/// 注册热键
/// </summary>
@ -102,7 +180,7 @@ namespace SysFuns
list_hotkey.Add(new HotKeyType(id, fsModifiers, vk));
}
return result;
}
}
/// <summary>
/// 注册热键
/// </summary>
@ -110,7 +188,19 @@ namespace SysFuns
/// <param name="fsModifiers"></param>
/// <param name="vk"></param>
/// <returns></returns>
public bool RegHotKey(int id, int fsModifiers, Keys vk)
public bool RegHotKey(int id, int fsModifiers, Keys vk)
{
return RegHotKey(id,"", fsModifiers, vk);
}
/// <summary>
/// 注册热键
/// </summary>
/// <param name="id"></param>
/// <param name="Tag"></param>
/// <param name="fsModifiers"></param>
/// <param name="vk"></param>
/// <returns></returns>
public bool RegHotKey(int id,string Tag, int fsModifiers, Keys vk)
{
if (!Enum.IsDefined(typeof(KeyModifiers), fsModifiers))
{
@ -119,7 +209,7 @@ namespace SysFuns
bool result = RegisterHotKey(handle, id, (KeyModifiers)fsModifiers, vk);
if (result)
{
list_hotkey.Add(new HotKeyType(id, (KeyModifiers)fsModifiers, vk));
list_hotkey.Add(new HotKeyType(id, Tag, (KeyModifiers)fsModifiers, vk));
}
return result;
}
@ -209,7 +299,11 @@ namespace SysFuns
/// <summary>
/// 热键id
/// </summary>
public int id;
public int id;
/// <summary>
/// 热键Tag
/// </summary>
public string Tag;
/// <summary>
/// 功能键
/// </summary>
@ -229,6 +323,26 @@ namespace SysFuns
this.id = id;
this.fsModifiers = fsModifiers;
this.vk = vk;
}
/// <summary>
/// 热键类型
/// </summary>
/// <param name="id"></param>
/// <param name="Tag"></param>
/// <param name="fsModifiers"></param>
/// <param name="vk"></param>
public HotKeyType(int id,string Tag, KeyModifiers fsModifiers, Keys vk)
{
this.id = id;
this.Tag = Tag;
this.fsModifiers = fsModifiers;
this.vk = vk;
}
/// <summary>
/// 热键类型
/// </summary>
public HotKeyType()
{
}
}
}

View File

@ -0,0 +1,36 @@
namespace PresentationControls
{
partial class CheckBoxComboBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,116 @@
using System;
using System.Drawing;
namespace PresentationControls
{
/// <summary>
/// CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
/// </summary>
internal struct GripBounds
{
private const int GripSize = 6;
private const int CornerGripSize = GripSize << 1;
public GripBounds(Rectangle clientRectangle)
{
this.clientRectangle = clientRectangle;
}
private Rectangle clientRectangle;
public Rectangle ClientRectangle
{
get { return clientRectangle; }
//set { clientRectangle = value; }
}
public Rectangle Bottom
{
get
{
Rectangle rect = ClientRectangle;
rect.Y = rect.Bottom - GripSize + 1;
rect.Height = GripSize;
return rect;
}
}
public Rectangle BottomRight
{
get
{
Rectangle rect = ClientRectangle;
rect.Y = rect.Bottom - CornerGripSize + 1;
rect.Height = CornerGripSize;
rect.X = rect.Width - CornerGripSize + 1;
rect.Width = CornerGripSize;
return rect;
}
}
public Rectangle Top
{
get
{
Rectangle rect = ClientRectangle;
rect.Height = GripSize;
return rect;
}
}
public Rectangle TopRight
{
get
{
Rectangle rect = ClientRectangle;
rect.Height = CornerGripSize;
rect.X = rect.Width - CornerGripSize + 1;
rect.Width = CornerGripSize;
return rect;
}
}
public Rectangle Left
{
get
{
Rectangle rect = ClientRectangle;
rect.Width = GripSize;
return rect;
}
}
public Rectangle BottomLeft
{
get
{
Rectangle rect = ClientRectangle;
rect.Width = CornerGripSize;
rect.Y = rect.Height - CornerGripSize + 1;
rect.Height = CornerGripSize;
return rect;
}
}
public Rectangle Right
{
get
{
Rectangle rect = ClientRectangle;
rect.X = rect.Right - GripSize + 1;
rect.Width = GripSize;
return rect;
}
}
public Rectangle TopLeft
{
get
{
Rectangle rect = ClientRectangle;
rect.Width = CornerGripSize;
rect.Height = CornerGripSize;
return rect;
}
}
}
}

View File

@ -0,0 +1,60 @@
using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace PresentationControls
{
/// <summary>
/// CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
/// </summary>
internal static class NativeMethods
{
internal const int WM_NCHITTEST = 0x0084,
WM_NCACTIVATE = 0x0086,
WS_EX_NOACTIVATE = 0x08000000,
HTTRANSPARENT = -1,
HTLEFT = 10,
HTRIGHT = 11,
HTTOP = 12,
HTTOPLEFT = 13,
HTTOPRIGHT = 14,
HTBOTTOM = 15,
HTBOTTOMLEFT = 16,
HTBOTTOMRIGHT = 17,
WM_USER = 0x0400,
WM_REFLECT = WM_USER + 0x1C00,
WM_COMMAND = 0x0111,
CBN_DROPDOWN = 7,
WM_GETMINMAXINFO = 0x0024;
internal static int HIWORD(int n)
{
return (n >> 16) & 0xffff;
}
internal static int HIWORD(IntPtr n)
{
return HIWORD(unchecked((int)(long)n));
}
internal static int LOWORD(int n)
{
return n & 0xffff;
}
internal static int LOWORD(IntPtr n)
{
return LOWORD(unchecked((int)(long)n));
}
[StructLayout(LayoutKind.Sequential)]
internal struct MINMAXINFO
{
public Point reserved;
public Size maxSize;
public Point maxPosition;
public Size minTrackSize;
public Size maxTrackSize;
}
}
}

View File

@ -0,0 +1,45 @@
namespace PresentationControls
{
partial class Popup
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
if (content != null)
{
System.Windows.Forms.Control _content = content;
content = null;
_content.Dispose();
}
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}

View File

@ -0,0 +1,528 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Security.Permissions;
using System.Runtime.InteropServices;
using VS = System.Windows.Forms.VisualStyles;
/*
<li>Base class for custom tooltips.</li>
<li>Office-2007-like tooltip class.</li>
*/
namespace PresentationControls
{
/// <summary>
/// CodeProject.com Simple pop-up control http://www.codeproject.com/cs/miscctrl/simplepopup.asp.
/// Represents a pop-up window.
/// </summary>
[ToolboxItem(false)]
public partial class Popup : ToolStripDropDown
{
#region " Fields & Properties "
private Control content;
/// <summary>
/// Gets the content of the pop-up.
/// </summary>
public Control Content
{
get { return content; }
}
private bool fade;
/// <summary>
/// Gets a value indicating whether the PopupControl.Popup uses the fade effect.
/// </summary>
/// <value><c>true</c> if pop-up uses the fade effect; otherwise, <c>false</c>.</value>
/// <remarks>To use the fade effect, the FocusOnOpen property also has to be set to <c>true</c>.</remarks>
public bool UseFadeEffect
{
get { return fade; }
set
{
if (fade == value) return;
fade = value;
}
}
private bool focusOnOpen = true;
/// <summary>
/// Gets or sets a value indicating whether to focus the content after the pop-up has been opened.
/// </summary>
/// <value><c>true</c> if the content should be focused after the pop-up has been opened; otherwise, <c>false</c>.</value>
/// <remarks>If the FocusOnOpen property is set to <c>false</c>, then pop-up cannot use the fade effect.</remarks>
public bool FocusOnOpen
{
get { return focusOnOpen; }
set { focusOnOpen = value; }
}
private bool acceptAlt = true;
/// <summary>
/// Gets or sets a value indicating whether presing the alt key should close the pop-up.
/// </summary>
/// <value><c>true</c> if presing the alt key does not close the pop-up; otherwise, <c>false</c>.</value>
public bool AcceptAlt
{
get { return acceptAlt; }
set { acceptAlt = value; }
}
private Popup ownerPopup;
private Popup childPopup;
private bool _resizable;
private bool resizable;
/// <summary>
/// Gets or sets a value indicating whether this PopupControl.Popup is resizable.
/// </summary>
/// <value><c>true</c> if resizable; otherwise, <c>false</c>.</value>
public bool Resizable
{
get { return resizable && _resizable; }
set { resizable = value; }
}
private ToolStripControlHost host;
private Size minSize;
/// <summary>
/// Gets or sets the size that is the lower limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
/// </summary>
/// <returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
public new Size MinimumSize
{
get { return minSize; }
set { minSize = value; }
}
private Size maxSize;
/// <summary>
/// Gets or sets the size that is the upper limit that <see cref="M:System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)" /> can specify.
/// </summary>
/// <returns>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</returns>
public new Size MaximumSize
{
get { return maxSize; }
set { maxSize = value; }
}
/// <summary>
/// Gets parameters of a new window.
/// </summary>
/// <returns>An object of type <see cref="T:System.Windows.Forms.CreateParams" /> used when creating a new window.</returns>
protected override CreateParams CreateParams
{
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= NativeMethods.WS_EX_NOACTIVATE;
return cp;
}
}
#endregion
#region " Constructors "
/// <summary>
/// Initializes a new instance of the PopupControl.Popup class.
/// </summary>
/// <param name="content">The content of the pop-up.</param>
/// <remarks>
/// Pop-up will be disposed immediately after disposion of the content control.
/// </remarks>
/// <exception cref="T:System.ArgumentNullException"><paramref name="content" /> is <code>null</code>.</exception>
public Popup(Control content)
{
if (content == null)
{
throw new ArgumentNullException("content");
}
this.content = content;
this.fade = SystemInformation.IsMenuAnimationEnabled && SystemInformation.IsMenuFadeEnabled;
this._resizable = true;
InitializeComponent();
AutoSize = false;
DoubleBuffered = true;
ResizeRedraw = true;
host = new ToolStripControlHost(content);
Padding = Margin = host.Padding = host.Margin = Padding.Empty;
MinimumSize = content.MinimumSize;
content.MinimumSize = content.Size;
MaximumSize = content.MaximumSize;
content.MaximumSize = content.Size;
Size = content.Size;
content.Location = Point.Empty;
Items.Add(host);
content.Disposed += delegate(object sender, EventArgs e)
{
content = null;
Dispose(true);
};
content.RegionChanged += delegate(object sender, EventArgs e)
{
UpdateRegion();
};
content.Paint += delegate(object sender, PaintEventArgs e)
{
PaintSizeGrip(e);
};
UpdateRegion();
}
#endregion
#region " Methods "
/// <summary>
/// Processes a dialog box key.
/// </summary>
/// <param name="keyData">One of the <see cref="T:System.Windows.Forms.Keys" /> values that represents the key to process.</param>
/// <returns>
/// true if the key was processed by the control; otherwise, false.
/// </returns>
protected override bool ProcessDialogKey(Keys keyData)
{
if (acceptAlt && ((keyData & Keys.Alt) == Keys.Alt)) return false;
return base.ProcessDialogKey(keyData);
}
/// <summary>
/// Updates the pop-up region.
/// </summary>
protected void UpdateRegion()
{
if (this.Region != null)
{
this.Region.Dispose();
this.Region = null;
}
if (content.Region != null)
{
this.Region = content.Region.Clone();
}
}
/// <summary>
/// Shows pop-up window below the specified control.
/// </summary>
/// <param name="control">The control below which the pop-up will be shown.</param>
/// <remarks>
/// When there is no space below the specified control, the pop-up control is shown above it.
/// </remarks>
/// <exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
public void Show(Control control)
{
if (control == null)
{
throw new ArgumentNullException("control");
}
SetOwnerItem(control);
Show(control, control.ClientRectangle);
}
/// <summary>
/// Shows pop-up window below the specified area of specified control.
/// </summary>
/// <param name="control">The control used to compute screen location of specified area.</param>
/// <param name="area">The area of control below which the pop-up will be shown.</param>
/// <remarks>
/// When there is no space below specified area, the pop-up control is shown above it.
/// </remarks>
/// <exception cref="T:System.ArgumentNullException"><paramref name="control"/> is <code>null</code>.</exception>
public void Show(Control control, Rectangle area)
{
if (control == null)
{
throw new ArgumentNullException("control");
}
SetOwnerItem(control);
resizableTop = resizableRight = false;
Point location = control.PointToScreen(new Point(area.Left, area.Top + area.Height));
Rectangle screen = Screen.FromControl(control).WorkingArea;
if (location.X + Size.Width > (screen.Left + screen.Width))
{
resizableRight = true;
location.X = (screen.Left + screen.Width) - Size.Width;
}
if (location.Y + Size.Height > (screen.Top + screen.Height))
{
resizableTop = true;
location.Y -= Size.Height + area.Height;
}
location = control.PointToClient(location);
Show(control, location, ToolStripDropDownDirection.BelowRight);
}
private const int frames = 1;
private const int totalduration = 0; // ML : 2007-11-05 : was 100 but caused a flicker.
private const int frameduration = totalduration / frames;
/// <summary>
/// Adjusts the size of the owner <see cref="T:System.Windows.Forms.ToolStrip" /> to accommodate the <see cref="T:System.Windows.Forms.ToolStripDropDown" /> if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed, or clears and resets active <see cref="T:System.Windows.Forms.ToolStripDropDown" /> child controls of the <see cref="T:System.Windows.Forms.ToolStrip" /> if the <see cref="T:System.Windows.Forms.ToolStrip" /> is not currently displayed.
/// </summary>
/// <param name="visible">true if the owner <see cref="T:System.Windows.Forms.ToolStrip" /> is currently displayed; otherwise, false.</param>
protected override void SetVisibleCore(bool visible)
{
double opacity = Opacity;
if (visible && fade && focusOnOpen) Opacity = 0;
base.SetVisibleCore(visible);
if (!visible || !fade || !focusOnOpen) return;
for (int i = 1; i <= frames; i++)
{
if (i > 1)
{
System.Threading.Thread.Sleep(frameduration);
}
Opacity = opacity * (double)i / (double)frames;
}
Opacity = opacity;
}
private bool resizableTop;
private bool resizableRight;
private void SetOwnerItem(Control control)
{
if (control == null)
{
return;
}
if (control is Popup)
{
Popup popupControl = control as Popup;
ownerPopup = popupControl;
ownerPopup.childPopup = this;
OwnerItem = popupControl.Items[0];
return;
}
if (control.Parent != null)
{
SetOwnerItem(control.Parent);
}
}
/// <summary>
/// Raises the <see cref="E:System.Windows.Forms.Control.SizeChanged" /> event.
/// </summary>
/// <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
protected override void OnSizeChanged(EventArgs e)
{
content.MinimumSize = Size;
content.MaximumSize = Size;
content.Size = Size;
content.Location = Point.Empty;
base.OnSizeChanged(e);
}
/// <summary>
/// Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opening" /> event.
/// </summary>
/// <param name="e">A <see cref="T:System.ComponentModel.CancelEventArgs" /> that contains the event data.</param>
protected override void OnOpening(CancelEventArgs e)
{
if (content.IsDisposed || content.Disposing)
{
e.Cancel = true;
return;
}
UpdateRegion();
base.OnOpening(e);
}
/// <summary>
/// Raises the <see cref="E:System.Windows.Forms.ToolStripDropDown.Opened" /> event.
/// </summary>
/// <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
protected override void OnOpened(EventArgs e)
{
if (ownerPopup != null)
{
ownerPopup._resizable = false;
}
if (focusOnOpen)
{
content.Focus();
}
base.OnOpened(e);
}
/// <summary>
///
/// </summary>
/// <param name="e"></param>
protected override void OnClosed(ToolStripDropDownClosedEventArgs e)
{
if (ownerPopup != null)
{
ownerPopup._resizable = true;
}
base.OnClosed(e);
}
/// <summary>
///
/// </summary>
public DateTime LastClosedTimeStamp = DateTime.Now;
/// <summary>
///
/// </summary>
/// <param name="e"></param>
protected override void OnVisibleChanged(EventArgs e)
{
if (Visible == false)
LastClosedTimeStamp = DateTime.Now;
base.OnVisibleChanged(e);
}
#endregion
#region " Resizing Support "
/// <summary>
/// Processes Windows messages.
/// </summary>
/// <param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(ref Message m)
{
if (InternalProcessResizing(ref m, false))
{
return;
}
base.WndProc(ref m);
}
/// <summary>
/// Processes the resizing messages.
/// </summary>
/// <param name="m">The message.</param>
/// <returns>true, if the WndProc method from the base class shouldn't be invoked.</returns>
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public bool ProcessResizing(ref Message m)
{
return InternalProcessResizing(ref m, true);
}
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
private bool InternalProcessResizing(ref Message m, bool contentControl)
{
if (m.Msg == NativeMethods.WM_NCACTIVATE && m.WParam != IntPtr.Zero && childPopup != null && childPopup.Visible)
{
childPopup.Hide();
}
if (!Resizable)
{
return false;
}
if (m.Msg == NativeMethods.WM_NCHITTEST)
{
return OnNcHitTest(ref m, contentControl);
}
else if (m.Msg == NativeMethods.WM_GETMINMAXINFO)
{
return OnGetMinMaxInfo(ref m);
}
return false;
}
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
private bool OnGetMinMaxInfo(ref Message m)
{
NativeMethods.MINMAXINFO minmax = (NativeMethods.MINMAXINFO)Marshal.PtrToStructure(m.LParam, typeof(NativeMethods.MINMAXINFO));
minmax.maxTrackSize = this.MaximumSize;
minmax.minTrackSize = this.MinimumSize;
Marshal.StructureToPtr(minmax, m.LParam, false);
return true;
}
private bool OnNcHitTest(ref Message m, bool contentControl)
{
int x = NativeMethods.LOWORD(m.LParam);
int y = NativeMethods.HIWORD(m.LParam);
Point clientLocation = PointToClient(new Point(x, y));
GripBounds gripBouns = new GripBounds(contentControl ? content.ClientRectangle : ClientRectangle);
IntPtr transparent = new IntPtr(NativeMethods.HTTRANSPARENT);
if (resizableTop)
{
if (resizableRight && gripBouns.TopLeft.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTTOPLEFT;
return true;
}
if (!resizableRight && gripBouns.TopRight.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTTOPRIGHT;
return true;
}
if (gripBouns.Top.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTTOP;
return true;
}
}
else
{
if (resizableRight && gripBouns.BottomLeft.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTBOTTOMLEFT;
return true;
}
if (!resizableRight && gripBouns.BottomRight.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTBOTTOMRIGHT;
return true;
}
if (gripBouns.Bottom.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTBOTTOM;
return true;
}
}
if (resizableRight && gripBouns.Left.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTLEFT;
return true;
}
if (!resizableRight && gripBouns.Right.Contains(clientLocation))
{
m.Result = contentControl ? transparent : (IntPtr)NativeMethods.HTRIGHT;
return true;
}
return false;
}
private VS.VisualStyleRenderer sizeGripRenderer;
/// <summary>
/// Paints the size grip.
/// </summary>
/// <param name="e">The <see cref="System.Windows.Forms.PaintEventArgs" /> instance containing the event data.</param>
public void PaintSizeGrip(PaintEventArgs e)
{
if (e == null || e.Graphics == null || !resizable)
{
return;
}
Size clientSize = content.ClientSize;
if (Application.RenderWithVisualStyles)
{
if (this.sizeGripRenderer == null)
{
this.sizeGripRenderer = new VS.VisualStyleRenderer(VS.VisualStyleElement.Status.Gripper.Normal);
}
this.sizeGripRenderer.DrawBackground(e.Graphics, new Rectangle(clientSize.Width - 0x10, clientSize.Height - 0x10, 0x10, 0x10));
}
else
{
ControlPaint.DrawSizeGrip(e.Graphics, content.BackColor, clientSize.Width - 0x10, clientSize.Height - 0x10, 0x10, 0x10);
}
}
#endregion
}
}

View File

@ -0,0 +1,48 @@
namespace PresentationControls
{
partial class PopupComboBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
if (dropDown != null)
{
dropDown.Dispose();
}
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.SuspendLayout();
//
// PopupComboBox
//
this.ResumeLayout(false);
}
#endregion
}
}

View File

@ -0,0 +1,153 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Security.Permissions;
namespace PresentationControls
{
/// <summary>
/// CodeProject.com "Simple pop-up control" "http://www.codeproject.com/cs/miscctrl/simplepopup.asp".
/// Represents a Windows combo box control with a custom popup control attached.
/// </summary>
[ToolboxBitmap(typeof(System.Windows.Forms.ComboBox)), ToolboxItem(true), ToolboxItemFilter("System.Windows.Forms"), Description("Displays an editable text box with a drop-down list of permitted values.")]
public partial class PopupComboBox : ComboBox
{
/// <summary>
/// Initializes a new instance of the PopupControl.PopupComboBox class.
/// </summary>
public PopupComboBox()
{
InitializeComponent();
base.DropDownHeight = base.DropDownWidth = 1;
base.IntegralHeight = false;
}
/// <summary>
/// The pop-up wrapper for the dropDownControl.
/// Made PROTECTED instead of PRIVATE so descendent classes can set its Resizable property.
/// Note however the pop-up properties must be set after the dropDownControl is assigned, since this
/// popup wrapper is recreated when the dropDownControl is assigned.
/// </summary>
protected Popup dropDown;
private Control dropDownControl;
/// <summary>
/// Gets or sets the drop down control.
/// </summary>
/// <value>The drop down control.</value>
public Control DropDownControl
{
get
{
return dropDownControl;
}
set
{
if (dropDownControl == value)
return;
dropDownControl = value;
dropDown = new Popup(value);
}
}
/// <summary>
/// Shows the drop down.
/// </summary>
public void ShowDropDown()
{
if (dropDown != null)
{
dropDown.Show(this);
}
}
/// <summary>
/// Hides the drop down.
/// </summary>
public void HideDropDown()
{
if (dropDown != null)
{
dropDown.Hide();
}
}
/// <summary>
/// Processes Windows messages.
/// </summary>
/// <param name="m">The Windows <see cref="T:System.Windows.Forms.Message" /> to process.</param>
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(ref Message m)
{
if (m.Msg == (NativeMethods.WM_REFLECT + NativeMethods.WM_COMMAND))
{
if (NativeMethods.HIWORD(m.WParam) == NativeMethods.CBN_DROPDOWN)
{
// Blocks a redisplay when the user closes the control by clicking
// on the combobox.
TimeSpan TimeSpan = DateTime.Now.Subtract(dropDown.LastClosedTimeStamp);
if (TimeSpan.TotalMilliseconds > 500)
ShowDropDown();
return;
}
}
base.WndProc(ref m);
}
#region " Unused Properties "
/// <summary>This property is not relevant for this class.</summary>
/// <returns>This property is not relevant for this class.</returns>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), EditorBrowsable(EditorBrowsableState.Never)]
public new int DropDownWidth
{
get { return base.DropDownWidth; }
set { base.DropDownWidth = value; }
}
/// <summary>This property is not relevant for this class.</summary>
/// <returns>This property is not relevant for this class.</returns>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), EditorBrowsable(EditorBrowsableState.Never)]
public new int DropDownHeight
{
get { return base.DropDownHeight; }
set
{
dropDown.Height = value;
base.DropDownHeight = value;
}
}
/// <summary>This property is not relevant for this class.</summary>
/// <returns>This property is not relevant for this class.</returns>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), EditorBrowsable(EditorBrowsableState.Never)]
public new bool IntegralHeight
{
get { return base.IntegralHeight; }
set { base.IntegralHeight = value; }
}
/// <summary>This property is not relevant for this class.</summary>
/// <returns>This property is not relevant for this class.</returns>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), EditorBrowsable(EditorBrowsableState.Never)]
public new ObjectCollection Items
{
get { return base.Items; }
}
/// <summary>This property is not relevant for this class.</summary>
/// <returns>This property is not relevant for this class.</returns>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), EditorBrowsable(EditorBrowsableState.Never)]
public new int ItemHeight
{
get { return base.ItemHeight; }
set { base.ItemHeight = value; }
}
#endregion
}
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@ -0,0 +1,241 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ComponentModel;
namespace PresentationControls
{
/// <summary>
/// Maintains an additional "Selected" and "Count" value for each item in a List.
/// Useful in the CheckBoxComboBox. It holds a reference to the List[Index] Item and
/// whether it is selected or not.
/// It also caters for a Count, if needed.
/// </summary>
public class ListSelectionWrapper<T> : List<ObjectSelectionWrapper<T>>
{
#region CONSTRUCTOR
/// <summary>
/// No property on the object is specified for display purposes, so simple ToString() operation
/// will be performed. And no Counts will be displayed
/// </summary>
public ListSelectionWrapper(IEnumerable source) : this(source, false) { }
/// <summary>
/// No property on the object is specified for display purposes, so simple ToString() operation
/// will be performed.
/// </summary>
public ListSelectionWrapper(IEnumerable source, bool showCounts)
: base()
{
_Source = source;
_ShowCounts = showCounts;
if (_Source is IBindingList)
((IBindingList)_Source).ListChanged += new ListChangedEventHandler(ListSelectionWrapper_ListChanged);
Populate();
}
/// <summary>
/// A Display "Name" property is specified. ToString() will not be performed on items.
/// This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
/// If a PropertyDescriptor is not found, a Property will be used.
/// </summary>
public ListSelectionWrapper(IEnumerable source, string usePropertyAsDisplayName) : this(source, false, usePropertyAsDisplayName) { }
/// <summary>
/// A Display "Name" property is specified. ToString() will not be performed on items.
/// This is specifically useful on DataTable implementations, or where PropertyDescriptors are used to read the values.
/// If a PropertyDescriptor is not found, a Property will be used.
/// </summary>
public ListSelectionWrapper(IEnumerable source, bool showCounts, string usePropertyAsDisplayName)
: this(source, showCounts)
{
_DisplayNameProperty = usePropertyAsDisplayName;
}
#endregion
#region PRIVATE PROPERTIES
/// <summary>
/// Is a Count indicator used.
/// </summary>
private bool _ShowCounts;
/// <summary>
/// The original List of values wrapped. A "Selected" and possibly "Count" functionality is added.
/// </summary>
private IEnumerable _Source;
/// <summary>
/// Used to indicate NOT to use ToString(), but read this property instead as a display value.
/// </summary>
private string _DisplayNameProperty = null;
#endregion
#region PUBLIC PROPERTIES
/// <summary>
/// When specified, indicates that ToString() should not be performed on the items.
/// This property will be read instead.
/// This is specifically useful on DataTable implementations, where PropertyDescriptors are used to read the values.
/// </summary>
public string DisplayNameProperty
{
get { return _DisplayNameProperty; }
set { _DisplayNameProperty = value; }
}
/// <summary>
/// Builds a concatenation list of selected items in the list.
/// </summary>
public string SelectedNames
{
get
{
string Text = "";
foreach (ObjectSelectionWrapper<T> Item in this)
if (Item.Selected)
Text += (
string.IsNullOrEmpty(Text)
? String.Format("\"{0}\"", Item.Name)
: String.Format(" & \"{0}\"", Item.Name));
return Text;
}
}
/// <summary>
/// Indicates whether the Item display value (Name) should include a count.
/// </summary>
public bool ShowCounts
{
get { return _ShowCounts; }
set { _ShowCounts = value; }
}
#endregion
#region HELPER MEMBERS
/// <summary>
/// Reset all counts to zero.
/// </summary>
public void ClearCounts()
{
foreach (ObjectSelectionWrapper<T> Item in this)
Item.Count = 0;
}
/// <summary>
/// Creates a ObjectSelectionWrapper item.
/// Note that the constructor signature of sub classes classes are important.
/// </summary>
/// <param name="Object"></param>
/// <returns></returns>
private ObjectSelectionWrapper<T> CreateSelectionWrapper(IEnumerator Object)
{
Type[] Types = new Type[] { typeof(T), this.GetType() };
ConstructorInfo CI = typeof(ObjectSelectionWrapper<T>).GetConstructor(Types);
if (CI == null)
throw new Exception(String.Format(
"The selection wrapper class {0} must have a constructor with ({1} Item, {2} Container) parameters.",
typeof(ObjectSelectionWrapper<T>),
typeof(T),
this.GetType()));
object[] parameters = new object[] { Object.Current, this };
object result = CI.Invoke(parameters);
return (ObjectSelectionWrapper<T>)result;
}
/// <summary>
///
/// </summary>
/// <param name="Object"></param>
/// <returns></returns>
public ObjectSelectionWrapper<T> FindObjectWithItem(T Object)
{
return Find(new Predicate<ObjectSelectionWrapper<T>>(
delegate(ObjectSelectionWrapper<T> target)
{
return target.Item.Equals(Object);
}));
}
/*
public TSelectionWrapper FindObjectWithKey(object key)
{
return FindObjectWithKey(new object[] { key });
}
public TSelectionWrapper FindObjectWithKey(object[] keys)
{
return Find(new Predicate<TSelectionWrapper>(
delegate(TSelectionWrapper target)
{
return
ReflectionHelper.CompareKeyValues(
ReflectionHelper.GetKeyValuesFromObject(target.Item, target.Item.TableInfo),
keys);
}));
}
public object[] GetArrayOfSelectedKeys()
{
List<object> List = new List<object>();
foreach (TSelectionWrapper Item in this)
if (Item.Selected)
{
if (Item.Item.TableInfo.KeyProperties.Length == 1)
List.Add(ReflectionHelper.GetKeyValueFromObject(Item.Item, Item.Item.TableInfo));
else
List.Add(ReflectionHelper.GetKeyValuesFromObject(Item.Item, Item.Item.TableInfo));
}
return List.ToArray();
}
public T[] GetArrayOfSelectedKeys<T>()
{
List<T> List = new List<T>();
foreach (TSelectionWrapper Item in this)
if (Item.Selected)
{
if (Item.Item.TableInfo.KeyProperties.Length == 1)
List.Add((T)ReflectionHelper.GetKeyValueFromObject(Item.Item, Item.Item.TableInfo));
else
throw new LibraryException("This generator only supports single value keys.");
// List.Add((T)ReflectionHelper.GetKeyValuesFromObject(Item.Item, Item.Item.TableInfo));
}
return List.ToArray();
}
*/
private void Populate()
{
Clear();
/*
for(int Index = 0; Index <= _Source.Count -1; Index++)
Add(CreateSelectionWrapper(_Source[Index]));
*/
IEnumerator Enumerator = _Source.GetEnumerator();
if (Enumerator != null)
while (Enumerator.MoveNext())
Add(CreateSelectionWrapper(Enumerator));
}
#endregion
#region EVENT HANDLERS
private void ListSelectionWrapper_ListChanged(object sender, ListChangedEventArgs e)
{
switch (e.ListChangedType)
{
case ListChangedType.ItemAdded:
Add(CreateSelectionWrapper((IEnumerator)((IBindingList)_Source)[e.NewIndex]));
break;
case ListChangedType.ItemDeleted:
Remove(FindObjectWithItem((T)((IBindingList)_Source)[e.OldIndex]));
break;
case ListChangedType.Reset:
Populate();
break;
}
}
#endregion
}
}

View File

@ -0,0 +1,151 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Reflection;
using System.Data;
namespace PresentationControls
{
/// <summary>
/// Used together with the ListSelectionWrapper in order to wrap data sources for a CheckBoxComboBox.
/// It helps to ensure you don't add an extra "Selected" property to a class that don't really need or want that information.
/// </summary>
public class ObjectSelectionWrapper<T> : INotifyPropertyChanged
{
/// <summary>
///
/// </summary>
/// <param name="item"></param>
/// <param name="container"></param>
public ObjectSelectionWrapper(T item, ListSelectionWrapper<T> container)
: base()
{
_Container = container;
_Item = item;
}
#region PRIVATE PROPERTIES
/// <summary>
/// Used as a count indicator for the item. Not necessarily displayed.
/// </summary>
private int _Count = 0;
/// <summary>
/// Is this item selected.
/// </summary>
private bool _Selected = false;
/// <summary>
/// A reference to the wrapped item.
/// </summary>
private T _Item;
/// <summary>
/// The containing list for these selections.
/// </summary>
private ListSelectionWrapper<T> _Container;
#endregion
#region PUBLIC PROPERTIES
/// <summary>
/// An indicator of how many items with the specified status is available for the current filter level.
/// Thaught this would make the app a bit more user-friendly and help not to miss items in Statusses
/// that are not often used.
/// </summary>
public int Count
{
get { return _Count; }
set { _Count = value; }
}
/// <summary>
/// A reference to the item wrapped.
/// </summary>
public T Item
{
get { return _Item; }
set { _Item = value; }
}
/// <summary>
/// The item display value. If ShowCount is true, it displays the "Name [Count]".
/// </summary>
public string Name
{
get
{
string Name = null;
if (string.IsNullOrEmpty(_Container.DisplayNameProperty))
Name = Item.ToString();
else if (Item is DataRow) // A specific implementation for DataRow
Name = ((DataRow)((Object)Item))[_Container.DisplayNameProperty].ToString();
else
{
PropertyDescriptorCollection PDs = TypeDescriptor.GetProperties(Item);
foreach (PropertyDescriptor PD in PDs)
if (PD.Name.CompareTo(_Container.DisplayNameProperty) == 0)
{
Name = (string)PD.GetValue(Item).ToString();
break;
}
if (string.IsNullOrEmpty(Name))
{
PropertyInfo PI = Item.GetType().GetProperty(_Container.DisplayNameProperty);
if (PI == null)
throw new Exception(String.Format(
"Property {0} cannot be found on {1}.",
_Container.DisplayNameProperty,
Item.GetType()));
Name = PI.GetValue(Item, null).ToString();
}
}
return _Container.ShowCounts ? String.Format("{0} [{1}]", Name, Count) : Name;
}
}
/// <summary>
/// The textbox display value. The names concatenated.
/// </summary>
public string NameConcatenated
{
get { return _Container.SelectedNames; }
}
/// <summary>
/// Indicates whether the item is selected.
/// </summary>
public bool Selected
{
get { return _Selected; }
set
{
if (_Selected != value)
{
_Selected = value;
OnPropertyChanged("Selected");
OnPropertyChanged("NameConcatenated");
}
}
}
#endregion
#region INotifyPropertyChanged
/// <summary>
///
/// </summary>
public event PropertyChangedEventHandler PropertyChanged;
/// <summary>
///
/// </summary>
/// <param name="propertyName"></param>
protected virtual void OnPropertyChanged(string propertyName)
{
PropertyChangedEventHandler handler = PropertyChanged;
if (handler != null)
handler(this, new PropertyChangedEventArgs(propertyName));
}
#endregion
}
}

View File

@ -46,13 +46,13 @@ namespace MGdu.WinFormUI
#region
int _percentage = 0;
double _percentage = 0;
bool _showPercentageText = true;
GMProgessBarThemeBase _xtheme;
ProgressBarShapeStyle _shap = ProgressBarShapeStyle.Rectangle;
[DefaultValue(0), Description("0-100之间的整数值,表示当前进度")]
public int Percentage
[DefaultValue(0), Description("0-100之间的double值,表示当前进度")]
public double Percentage
{
get
{
@ -67,12 +67,26 @@ namespace MGdu.WinFormUI
if (value > 100)
value = 100;
_percentage = value;
text = _percentage.ToString() + "%";
text = _percentage.ToString("0.00").Replace(".00","") + "%";
Invalidate();
}
}
}
/// <summary>
/// 设置百分比
/// </summary>
/// <param name="value"></param>
/// <param name="min"></param>
/// <param name="max"></param>
/// <returns></returns>
public double SetPercent(int value,int min,int max)
{
if (max <= min) { Percentage = 100; }
else if (value <= min) { Percentage = 0; }
else if (value >= max) { Percentage = 100; }
else { Percentage = (value - min)*100 / (double)(max - min); }
return Percentage;
}
[DefaultValue(true)]
public bool ShowPercentageText
{
@ -355,7 +369,7 @@ namespace MGdu.WinFormUI
GMBackColor,
DrawInnerBorder,
270,
Percentage,
(float)Percentage,
ShowPercentageText,
ForeFont);
}

View File

@ -27,7 +27,7 @@ namespace MGdu.WinFormUI
/// <param name="drawText"></param>
/// <param name="textFont"></param>
public static void RenderCircleProgressBar(Graphics g, Rectangle rect, Color coveredColor, Color borderColor,
Color backColor, bool drawInnerBorder, int startAngle, int percentage, bool drawText, Font textFont)
Color backColor, bool drawInnerBorder, int startAngle, float percentage, bool drawText, Font textFont)
{
using (NewSmoothModeGraphics ng = new NewSmoothModeGraphics(g, SmoothingMode.AntiAlias))
{
@ -55,7 +55,7 @@ namespace MGdu.WinFormUI
rect.Inflate(-1, -1);
using (SolidBrush sb = new SolidBrush(coveredColor))
{
g.FillPie(sb, rect, startAngle, 360 * percentage / 100);
g.FillPie(sb, rect, startAngle, 360 * percentage /100);
}
// inner circle background

View File

@ -2491,8 +2491,9 @@ namespace BrightIdeasSoftware
{
get
{
var enumer = this.objects.GetEnumerator();
ArrayList list = new ArrayList();
if (objects == null) { return list; }
var enumer = this.objects.GetEnumerator();
while(enumer.MoveNext())
{
list.Add(enumer.Current);

View File

@ -2822,10 +2822,10 @@ namespace BrightIdeasSoftware {
#region Configuration Properties
/// <summary>
/// Should this bar be drawn in the system style?
/// 此栏是否应以系统样式绘制?
/// </summary>
[Category("ObjectListView"),
Description("Should this bar be drawn in the system style?"),
Description("此栏是否应以系统样式绘制"),
DefaultValue(true)]
public bool UseStandardBar {
get { return useStandardBar; }
@ -2835,10 +2835,10 @@ namespace BrightIdeasSoftware {
private bool useStandardBar = true;
/// <summary>
/// How many pixels in from our cell border will this bar be drawn
/// 将从我们的单元格边框开始绘制多少像素的条形图
/// </summary>
[Category("ObjectListView"),
Description("How many pixels in from our cell border will this bar be drawn"),
Description("将从我们的单元格边框开始绘制多少像素的条形图"),
DefaultValue(2)]
public int Padding {
get { return padding; }
@ -2848,11 +2848,10 @@ namespace BrightIdeasSoftware {
private int padding = 2;
/// <summary>
/// What color will be used to fill the interior of the control before the
/// progress bar is drawn?
///在绘制进度条之前,将使用什么颜色填充控件内部?
/// </summary>
[Category("ObjectListView"),
Description("The color of the interior of the bar"),
Description("条形图内部的颜色"),
DefaultValue(typeof (Color), "AliceBlue")]
public Color BackgroundColor {
get { return backgroundColor; }
@ -2862,10 +2861,10 @@ namespace BrightIdeasSoftware {
private Color backgroundColor = Color.AliceBlue;
/// <summary>
/// What color should the frame of the progress bar be?
/// 进度条边框颜色
/// </summary>
[Category("ObjectListView"),
Description("What color should the frame of the progress bar be"),
Description("进度条边框颜色"),
DefaultValue(typeof (Color), "Black")]
public Color FrameColor {
get { return frameColor; }
@ -2875,10 +2874,10 @@ namespace BrightIdeasSoftware {
private Color frameColor = Color.Black;
/// <summary>
/// How many pixels wide should the frame of the progress bar be?
/// 进度条的边框像素宽
/// </summary>
[Category("ObjectListView"),
Description("How many pixels wide should the frame of the progress bar be"),
Description("进度条的边框像素宽"),
DefaultValue(1.0f)]
public float FrameWidth {
get { return frameWidth; }
@ -2888,11 +2887,11 @@ namespace BrightIdeasSoftware {
private float frameWidth = 1.0f;
/// <summary>
/// What color should the 'filled in' part of the progress bar be?
/// 进度条的“填充”部分应该是什么颜色?
/// </summary>
/// <remarks>This is only used if GradientStartColor is Color.Empty</remarks>
/// <remarks>仅当GradientStartColor为Color.Empty时才使用此选项</remarks>
[Category("ObjectListView"),
Description("What color should the 'filled in' part of the progress bar be"),
Description("进度条的“填充”部分应该是什么颜色?"),
DefaultValue(typeof (Color), "BlueViolet")]
public Color FillColor {
get { return fillColor; }
@ -2902,10 +2901,10 @@ namespace BrightIdeasSoftware {
private Color fillColor = Color.BlueViolet;
/// <summary>
/// Use a gradient to fill the progress bar starting with this color
/// 使用渐变以此颜色开始填充进度条
/// </summary>
[Category("ObjectListView"),
Description("Use a gradient to fill the progress bar starting with this color"),
Description("使用渐变以此颜色开始填充进度条"),
DefaultValue(typeof (Color), "CornflowerBlue")]
public Color GradientStartColor {
get { return startColor; }
@ -2915,23 +2914,48 @@ namespace BrightIdeasSoftware {
private Color startColor = Color.CornflowerBlue;
/// <summary>
/// Use a gradient to fill the progress bar ending with this color
/// 使用渐变填充以此颜色结尾的进度条
/// </summary>
[Category("ObjectListView"),
Description("Use a gradient to fill the progress bar ending with this color"),
Description("使用渐变填充以此颜色结尾的进度条"),
DefaultValue(typeof (Color), "DarkBlue")]
public Color GradientEndColor {
get { return endColor; }
set { endColor = value; }
}
private Color endColor = Color.DarkBlue;
/// <summary>
/// 使用渐变以此颜色开始填充渐满进度条
/// </summary>
[Category("ObjectListView"),
Description("使用渐变以此颜色开始填充渐满进度条"),
DefaultValue(typeof(Color), "CornflowerBlue")]
public Color NearGradientStartColor
{
get { return near_startColor; }
set { near_startColor = value; }
}
private Color near_startColor = Color.CornflowerBlue;
/// <summary>
/// Regardless of how wide the column become the progress bar will never be wider than this
/// 使用渐变填充以此颜色结尾的渐满进度条
/// </summary>
[Category("ObjectListView"),
Description("使用渐变填充以此颜色结尾的渐满进度条"),
DefaultValue(typeof(Color), "DarkBlue")]
public Color NearGradientEndColor
{
get { return near_endColor; }
set { near_endColor = value; }
}
private Color near_endColor = Color.DarkBlue;
/// <summary>
/// 无论列变得多宽,进度条都不会比这个宽。
/// </summary>
[Category("Behavior"),
Description("The progress bar will never be wider than this"),
Description("进度条永远不会比这个更宽"),
DefaultValue(100)]
public int MaximumWidth {
get { return maximumWidth; }
@ -2941,10 +2965,10 @@ namespace BrightIdeasSoftware {
private int maximumWidth = 100;
/// <summary>
/// Regardless of how high the cell is the progress bar will never be taller than this
/// 无论单元格有多高,进度条都不会比这个高
/// </summary>
[Category("Behavior"),
Description("The progress bar will never be taller than this"),
Description("进度条永远不会比这个高"),
DefaultValue(16)]
public int MaximumHeight {
get { return maximumHeight; }
@ -2954,10 +2978,10 @@ namespace BrightIdeasSoftware {
private int maximumHeight = 16;
/// <summary>
/// The minimum data value expected. Values less than this will given an empty bar
/// 预期的最小数据值。小于此值的值将显示一个空条。
/// </summary>
[Category("Behavior"),
Description("The minimum data value expected. Values less than this will given an empty bar"),
Description("预期的最小数据值。小于此值的值将显示一个空条。"),
DefaultValue(0.0)]
public double MinimumValue {
get { return minimumValue; }
@ -2965,12 +2989,24 @@ namespace BrightIdeasSoftware {
}
private double minimumValue = 0.0;
/// <summary>
/// The maximum value for the range. Values greater than this will give a full bar
/// 接近满时的值,高于该值时显示不同颜色小于等于MinimumValue或大于MaximumValue值则表示未设置该值
/// </summary>
[Category("Behavior"),
Description("The maximum value for the range. Values greater than this will give a full bar"),
Description("接近满时的值,高于该值时显示不同颜色小于等于MinimumValue或大于MaximumValue值则表示未设置该值"),
DefaultValue(0.0)]
public double NearFullValue
{
get { return nearfullValue; }
set { nearfullValue = value; }
}
private double nearfullValue = 0.0;
/// <summary>
///范围的最大值。大于此值的值将给出一个完整的条形。
/// </summary>
[Category("Behavior"),
Description("范围的最大值。大于此值的值将给出一个完整的条形。"),
DefaultValue(100.0)]
public double MaximumValue {
get { return maximumValue; }
@ -3016,7 +3052,24 @@ namespace BrightIdeasSoftware {
}
private Brush brush;
/// <summary>
/// The brush that will be used to fill the bar
/// </summary>
[Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public Brush NearBrush
{
get
{
if (this.near_brush == null && !this.FillColor.IsEmpty)
return new SolidBrush(this.FillColor);
else
return this.near_brush;
}
set { this.near_brush = value; }
}
private Brush near_brush;
/// <summary>
/// The brush that will be used to fill the background of the bar
/// </summary>
@ -3083,11 +3136,28 @@ namespace BrightIdeasSoftware {
// FillRectangle fills inside the given rectangle, so expand it a little
fillRect.Width++;
fillRect.Height++;
if (this.GradientStartColor == Color.Empty)
g.FillRectangle(this.Brush, fillRect);
else {
using (LinearGradientBrush gradient = new LinearGradientBrush(frameRect, this.GradientStartColor, this.GradientEndColor, LinearGradientMode.Horizontal)) {
g.FillRectangle(gradient, fillRect);
if (aspectValue >= nearfullValue && nearfullValue >= this.MinimumValue && nearfullValue<= this.MaximumValue)
{
if (this.NearGradientStartColor == Color.Empty)
g.FillRectangle(this.NearBrush, fillRect);
else
{
using (LinearGradientBrush gradient = new LinearGradientBrush(frameRect, this.NearGradientStartColor, this.NearGradientEndColor, LinearGradientMode.Horizontal))
{
g.FillRectangle(gradient, fillRect);
}
}
}
else
{
if (this.GradientStartColor == Color.Empty)
g.FillRectangle(this.Brush, fillRect);
else
{
using (LinearGradientBrush gradient = new LinearGradientBrush(frameRect, this.GradientStartColor, this.GradientEndColor, LinearGradientMode.Horizontal))
{
g.FillRectangle(gradient, fillRect);
}
}
}
}

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.2110.0101")]
[assembly: AssemblyFileVersion("3.0.2110.0101")]
[assembly: AssemblyVersion("3.0.2111.2601")]
[assembly: AssemblyFileVersion("3.0.2111.2601")]

View File

@ -16,7 +16,7 @@ namespace Sheng.Winform.Controls.PopupControl
public partial class PopupControlComboBoxBase : System.Windows.Forms.ComboBox
{
/// <summary>
/// Initializes a new instance of the <see cref="PopupControl.ComboBox" /> class.
/// Initializes a new instance of the PopupControl.ComboBox class.
/// </summary>
public PopupControlComboBoxBase()
{

View File

@ -66,6 +66,28 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CheckBoxComboBox\CheckBoxComboBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CheckBoxComboBox\CheckBoxComboBox.Designer.cs">
<DependentUpon>CheckBoxComboBox.cs</DependentUpon>
</Compile>
<Compile Include="CheckBoxComboBox\GripBounds.cs" />
<Compile Include="CheckBoxComboBox\NativeMethods.cs" />
<Compile Include="CheckBoxComboBox\Popup.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CheckBoxComboBox\Popup.Designer.cs">
<DependentUpon>Popup.cs</DependentUpon>
</Compile>
<Compile Include="CheckBoxComboBox\PopupComboBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CheckBoxComboBox\PopupComboBox.Designer.cs">
<DependentUpon>PopupComboBox.cs</DependentUpon>
</Compile>
<Compile Include="CheckBoxComboBox\Selection Wrappers\ListSelectionWrapper.cs" />
<Compile Include="CheckBoxComboBox\Selection Wrappers\ObjectSelectionWrapper.cs" />
<Compile Include="Controls\ButtonImages\GlassButton.cs">
<SubType>Component</SubType>
</Compile>
@ -590,6 +612,9 @@
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="CheckBoxComboBox\PopupComboBox.resx">
<DependentUpon>PopupComboBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\ContextMenuStripRichText.resx">
<DependentUpon>ContextMenuStripRichText.cs</DependentUpon>
</EmbeddedResource>