亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? objectlistview.cs

?? Linux 恢復盤制作工具 process調用busybox dd實現寫*.img鏡像
?? CS
?? 第 1 頁 / 共 5 頁
字號:
 */

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;

using System.Drawing.Imaging;
using System.Drawing.Drawing2D;

namespace BrightIdeasSoftware
{
    /// <summary>
    /// An object list displays 'aspects' of a collection of objects in a listview control.
    /// </summary>
    /// <remarks>
    /// <para>
    /// The intelligence for this control is in the columns. OLVColumns are
    /// extended so they understand how to fetch an 'aspect' from each row
    /// object. They also understand how to sort by their aspect, and
    /// how to group them.
    /// </para>
    /// <para>
    /// Aspects are extracted by giving the name of a method to be called or a
    /// property to be fetched. These names can be simple names or they can be dotted
    /// to chain property access e.g. "Owner.Address.Postcode".
    /// Aspects can also be extracted by installing a delegate.
    /// </para>
    /// <para>
    /// Sorting by column clicking and grouping by column are handled automatically.
    /// </para>
    /// <para>
    /// Right clicking on the column header should present a popup menu that allows the user to
    /// choose which columns will be visible in the list. This behaviour can be disabled by
    /// setting SelectColumnsOnRightClick to false.
    /// </para>
    /// <para>
    /// This list puts sort indicators in the column headers to show the column sorting direction.
    /// On Windows XP and later, the system standard images are used.
    /// If you wish to replace the standard images with your own images, put entries in the small image list
    /// with the key values "sort-indicator-up" and "sort-indicator-down".
    /// </para>
    /// <para>
    /// For these classes to build correctly, the project must have references to these assemblies:
    /// <list>
    /// <item>System</item>
    /// <item>System.Data</item>
    /// <item>System.Design</item>
    /// <item>System.Drawing</item>
    /// <item>System.Windows.Forms (obviously)</item>
    /// </list>
    /// </para>
    /// </remarks>
    public partial class ObjectListView : ListView, ISupportInitialize
    {
        /// <summary>
        /// Create an ObjectListView
        /// </summary>
        public ObjectListView()
            : base()
        {
            this.ColumnClick += new ColumnClickEventHandler(this.HandleColumnClick);
            this.Layout += new LayoutEventHandler(this.HandleLayout);
            this.ColumnWidthChanging += new ColumnWidthChangingEventHandler(this.HandleColumnWidthChanging);
            this.ColumnWidthChanged += new ColumnWidthChangedEventHandler(this.HandleColumnWidthChanged);

            base.View = View.Details;
            this.DoubleBuffered = true; // kill nasty flickers. hiss... me hates 'em
            this.ShowSortIndicators = true;
        }

        #region Public properties

        /// <summary>
        /// Get or set all the columns that this control knows about.
        /// Only those columns where IsVisible is true will be seen by the user.
        /// </summary>
        /// <remarks>
        /// <para>
        /// If you want to add new columns programmatically, add them to
        /// AllColumns and then call RebuildColumns(). Normally, you do not have to
        /// deal with this property directly. Just use the IDE.
        /// </para>
        /// <para>If you do add or remove columns from the AllColumns collection,
        /// you have to call RebuildColumns() to make those changes take effect.</para>
        /// </remarks>
        [Browsable(false),
        DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        public virtual List<OLVColumn> AllColumns
        {
            get {
                return this.allColumns;
            }
            set {
                if (value == null)
                    this.allColumns = new List<OLVColumn>();
                else
                    this.allColumns = value;
            }
        }
        private List<OLVColumn> allColumns = new List<OLVColumn>();

        /// <summary>
        /// If every second row has a background different to the control, what color should it be?
        /// </summary>
        [Category("Appearance"),
         Description("If using alternate colors, what foregroundColor should alterate rows be?"),
         DefaultValue(typeof(Color), "")]
        public Color AlternateRowBackColor
        {
            get { return alternateRowBackColor; }
            set { alternateRowBackColor = value; }
        }
        private Color alternateRowBackColor = Color.Empty;

        /// <summary>
        /// Return the alternate row background color that has been set, or the default color
        /// </summary>
        [Browsable(false)]
        public virtual Color AlternateRowBackColorOrDefault
        {
            get {
                if (alternateRowBackColor == Color.Empty)
                    return Color.LemonChiffon;
                else
                    return alternateRowBackColor;
            }
        }

        /// <summary>
        /// This property forces the ObjectListView to always group items by the given column.
        /// </summary>
        [Browsable(false),
        DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public virtual OLVColumn AlwaysGroupByColumn
        {
            get { return alwaysGroupByColumn; }
            set { alwaysGroupByColumn = value; }
        }
        private OLVColumn alwaysGroupByColumn;

        /// <summary>
        /// If AlwaysGroupByColumn is not null, this property will be used to decide how
        /// those groups are sorted. If this property has the value SortOrder.None, then
        /// the sort order will toggle according to the users last header click.
        /// </summary>
        [Browsable(false),
        DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public virtual SortOrder AlwaysGroupBySortOrder
        {
            get { return alwaysGroupBySortOrder; }
            set { alwaysGroupBySortOrder = value; }
        }
        private SortOrder alwaysGroupBySortOrder = SortOrder.None;

        /// <summary>
        /// Give access to the image list that is actually being used by the control
        /// </summary>
        [Browsable(false)]
        public virtual ImageList BaseSmallImageList
        {
            get { return base.SmallImageList; }
        }

        /// <summary>
        /// How does a user indicate that they want to edit cells?
        /// </summary>
        public enum CellEditActivateMode
        {
            /// <summary>
            /// This list cannot be edited. F2 does nothing.
            /// </summary>
            None = 0,

            /// <summary>
            /// A single click on  a <strong>subitem</strong> will edit the value. Single clicking the primary column,
            /// selects the row just like normal. The user must press F2 to edit the primary column.
            /// </summary>
            SingleClick = 1,

            /// <summary>
            /// Double clicking a subitem or the primary column will edit that cell.
            /// F2 will edit the primary column.
            /// </summary>
            DoubleClick = 2,

            /// <summary>
            /// Pressing F2 is the only way to edit the cells. Once the primary column is being edited,
            /// the other cells in the row can be edited by pressing Tab.
            /// </summary>
            F2Only = 3
        }

        /// <summary>
        /// How does the user indicate that they want to edit a cell?
        /// None means that the listview cannot be edited.
        /// </summary>
        /// <remarks>Columns can also be marked as editable.</remarks>
        [Category("Behavior - ObjectListView"),
        Description("How does the user indicate that they want to edit a cell?"),
        DefaultValue(CellEditActivateMode.None)]
        public virtual CellEditActivateMode CellEditActivation
        {
            get { return cellEditActivation; }
            set { cellEditActivation = value; }
        }
        private CellEditActivateMode cellEditActivation = CellEditActivateMode.None;

        /// <summary>
        /// Should this list show checkboxes?
        /// </summary>
        public new bool CheckBoxes
        {
            get {
                return base.CheckBoxes;
            }
            set {
                base.CheckBoxes = value;
                // Initialize the state image list so we can display indetermined values.
                this.InitializeStateImageList();
            }
        }

        /// <summary>
        /// Return the model object of the row that is checked or null if no row is checked
        /// or more than one row is checked
        /// </summary>
        [Browsable(false),
        DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public virtual Object CheckedObject
        {
            get {
                IList checkedObjects = this.CheckedObjects;
                if (checkedObjects.Count == 1)
                    return checkedObjects[0];
                else
                    return null;
            }
            set {
                this.CheckedObjects = new ArrayList(new Object[] { value });
            }
        }

        /// <summary>
        /// Get or set the collection of model objects that are checked.
        /// When setting this property, any row whose model object isn't
        /// in the given collection will be unchecked. Setting to null is
        /// equivilent to unchecking all.
        /// </summary>
        /// <remarks>
        /// <para>
        /// This property returns a simple collection. Changes made to the returned
        /// collection do NOT affect the list. This is different to the behaviour of
        /// CheckedIndicies collection.
        /// </para>
        /// <para>
        /// .NET's CheckedItems property is not helpful. It is just a short-hand for
        /// iterating through the list looking for items that are checked.
        /// </para>
        /// <para>
        /// The performance of the get method is O(n), where n is the number of items
        /// in the control. The performance of the set method is
        /// O(n*m) where m is the number of objects being checked. Be careful on long lists.
        /// </para>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜臀av性久久久久蜜臀aⅴ| 亚洲欧美韩国综合色| 欧美日韩激情在线| 在线一区二区三区四区五区 | 午夜国产精品一区| 亚洲欧美另类久久久精品| 一区在线观看视频| 一区在线观看视频| 亚洲国产成人va在线观看天堂| 亚洲综合偷拍欧美一区色| 亚洲大片在线观看| 麻豆91免费看| 高清av一区二区| 色综合天天天天做夜夜夜夜做| 欧美在线综合视频| 538在线一区二区精品国产| 日韩欧美另类在线| 亚洲国产精品v| 亚洲成人综合在线| 欧美aaaaa成人免费观看视频| 久久99国产精品麻豆| 成人av资源在线观看| 色视频成人在线观看免| 欧美一区二区在线观看| 国产无人区一区二区三区| 亚洲视频一区二区在线| 久久99蜜桃精品| 国产综合成人久久大片91| 成人av电影在线网| 欧美卡1卡2卡| 欧美国产精品一区| 亚洲丶国产丶欧美一区二区三区| 老汉av免费一区二区三区| 成人深夜福利app| 欧美日高清视频| 中文字幕欧美国产| 午夜精品免费在线观看| 懂色av一区二区三区免费观看| 欧美日韩综合色| 国产喂奶挤奶一区二区三区| 亚洲成人免费影院| 风间由美中文字幕在线看视频国产欧美| 91免费在线看| 26uuu成人网一区二区三区| 亚洲免费观看视频| 福利一区福利二区| 日韩欧美国产一区二区在线播放| 国产精品激情偷乱一区二区∴| 麻豆国产欧美一区二区三区| 91福利国产成人精品照片| 久久精品水蜜桃av综合天堂| 午夜激情综合网| 一本一道久久a久久精品| 久久久国产一区二区三区四区小说| 夜夜精品浪潮av一区二区三区| 国产成人综合精品三级| 91精品国产日韩91久久久久久| 亚洲激情中文1区| 成年人网站91| 中文字幕精品一区二区三区精品| 久久精品国产99久久6| 日韩精品一区国产麻豆| 偷拍一区二区三区四区| 色婷婷av一区二区| 亚洲欧洲精品一区二区三区| 国产成人av在线影院| www亚洲一区| 狠狠网亚洲精品| 日韩视频免费观看高清完整版| 亚洲亚洲精品在线观看| 91官网在线观看| 一区二区三区欧美在线观看| 91视频国产观看| 亚洲精品乱码久久久久| 色94色欧美sute亚洲线路一ni| 日韩美女啊v在线免费观看| 成人在线视频一区二区| 国产精品乱码久久久久久| 国产成人精品三级| 中文字幕在线不卡国产视频| eeuss鲁片一区二区三区在线观看| 中文字幕第一区综合| 99国产精品久久久| 一区二区三区成人| 欧美日韩国产一级二级| 日韩成人一级片| 精品日产卡一卡二卡麻豆| 韩国成人精品a∨在线观看| 久久精品网站免费观看| 波多野结衣精品在线| 一区二区免费看| 日韩一区国产二区欧美三区| 国产乱子轮精品视频| 中文字幕第一区第二区| 在线免费观看不卡av| 日韩精品五月天| 国产天堂亚洲国产碰碰| 色国产精品一区在线观看| 亚洲va在线va天堂| 久久久蜜臀国产一区二区| eeuss国产一区二区三区| 亚洲资源中文字幕| 337p粉嫩大胆噜噜噜噜噜91av| 床上的激情91.| 午夜精品久久久久影视| 国产欧美一区二区在线观看| 91久久香蕉国产日韩欧美9色| 成人av资源站| 亚洲成人精品一区| 国产欧美一区二区精品久导航 | 色8久久精品久久久久久蜜| 亚洲午夜激情网页| 26uuu国产日韩综合| 色综合天天性综合| 韩国v欧美v亚洲v日本v| 夜夜亚洲天天久久| 亚洲国产精品激情在线观看| 欧美日韩亚洲另类| 成人精品视频一区二区三区 | 激情综合色综合久久| 1024国产精品| 欧美videossexotv100| 色综合网站在线| 蜜桃久久精品一区二区| 一区二区三区不卡在线观看| 国产亚洲午夜高清国产拍精品 | 国产色综合一区| 欧美理论电影在线| 91丨porny丨在线| 成人福利视频网站| 国产一区二区免费视频| 久久激五月天综合精品| 亚洲bt欧美bt精品| 一级日本不卡的影视| 国产精品久久久久久久久图文区 | 91一区二区三区在线观看| 精品一区二区av| 日韩中文字幕av电影| 一区二区三区在线视频观看 | 视频一区视频二区中文| 亚洲色图欧美偷拍| 国产精品国模大尺度视频| 久久综合九色综合久久久精品综合 | 日本欧美肥老太交大片| 亚洲综合丝袜美腿| 亚洲综合视频在线观看| 亚洲综合av网| 亚洲一区二区精品视频| 亚洲午夜久久久久久久久电影院 | 久久亚洲精品小早川怜子| 欧美岛国在线观看| 欧美一区二区免费| 欧美一级片在线| 欧美xxxxxxxxx| 欧美videossexotv100| 2024国产精品视频| 国产三级精品三级| 国产精品福利一区| 亚洲区小说区图片区qvod| 亚洲激情第一区| 国产一区二区三区四区五区入口 | 欧美日韩国产123区| 欧美日韩色一区| 欧美日韩亚洲综合| 欧美一级免费大片| 久久亚洲一区二区三区明星换脸| 精品播放一区二区| 国产精品久久久久久亚洲毛片| 亚洲毛片av在线| 日韩精品乱码av一区二区| 经典一区二区三区| 9久草视频在线视频精品| 欧美专区在线观看一区| 欧美一区二区免费观在线| 久久久久久免费| 亚洲欧美色综合| 日本视频中文字幕一区二区三区| 免费观看久久久4p| 成人av综合一区| 欧美三级视频在线| 久久五月婷婷丁香社区| 亚洲私人黄色宅男| 蜜桃久久久久久| 91在线看国产| 日韩一区二区三区电影在线观看| 国产三级欧美三级日产三级99| 亚洲人妖av一区二区| 免费日韩伦理电影| www.日韩大片| 日韩精品综合一本久道在线视频| 国产丝袜美腿一区二区三区| 亚洲最大成人网4388xx| 久草中文综合在线| 91成人免费电影| 久久久亚洲精品石原莉奈| 亚洲午夜免费福利视频| 国产成人综合自拍| 3d成人h动漫网站入口| 亚洲视频一区二区免费在线观看| 麻豆国产一区二区|