更新 控件属性方法

    #region 更新listview 单元格值 UpControl
        private void UpControl(object sender, string Name, object Value)
        {
            this.Invoke(new EventHandler(delegate
            {
                sender.GetType().GetProperty(Name).SetValue(sender, Value, null);
                listView1.Invalidate();
            }));
        }
        #endregion

剩下的 一次类推

猜你喜欢

转载自www.cnblogs.com/qc-id-01/p/9922696.html