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 组,这就看个人所需了。
  • 相关阅读:
    DAO层的作用
    JSP+DAO中servlet的作用
    Linux常用命令
    数据结构与算法之动态规划
    JVM之垃圾回收机制
    单例模式详解
    线程池基础知识
    解决Spring MVC Controller中输出中文出现的乱码问题
    LinkedList与ArrayList的get(int index)方法区别
    黄清山 | 2021软件代码开发技术作业五 | 代码开发、测试及发布
  • 原文地址:https://www.cnblogs.com/lyout/p/1034871.html
Copyright © 2011-2022 走看看