zoukankan      html  css  js  c++  java
  • 整理 .Net 2.0 下 WinForms中常用的方法(更新中...)

    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Windows.Forms;

    /*
     * 整理:夏荣全
     * 日期:2008年1月11日
     * 联系:lyout@live.cn
     * 说明:转载请注明出处
     * 使用:Lyout.FormMethods.方法名
    */

    namespace Lyout {
        
    delegate void SetTextCallback(Control control, string text);
        
    delegate void SetEnableCallback(Control control, bool enable);
        
    delegate string GetTextCallback(Control control);
        
    delegate void ClearItemsCallback(ComboBox comboBox);
        
    delegate void AddItemCallback(ComboBox comboBox, object item);

        
    /// <summary>
        
    /// WinForm中常用的方法类
        
    /// </summary>

        public sealed class FormMethods {
            
    多线程方法

            
    Mdi窗口方法
        }

    }



    当然,跨线程也可以用 backgroundWorker 组,这就看个人所需了。
  • 相关阅读:
    (一)Kubernetes 系统基础
    Linux-网络RAID技术DRBD
    Linux-存储服务之NFS
    ELK快速入门(五)配置nginx代理kibana
    ELK快速入门(四)filebeat替代logstash收集日志
    ELK快速入门(三)logstash收集日志写入redis
    渗透测试工具集合
    CVE-2019-0708(非蓝屏poc)远程桌面代码执行漏洞复现
    代码审计-thinkphp3.2.3框架漏洞sql注入
    渗透测试-端口复用正向后门
  • 原文地址:https://www.cnblogs.com/lyout/p/1034871.html
Copyright © 2011-2022 走看看