public partial class ucBloodLabs { public delegate void ShowBloodEvent(); public ShowBloodEvent ShowBloodData; } public partial class ucDiabeticLab { public delegate void ShowCurrentDataEvent(); public ShowCurrentDataEvent ShowCurrentData; } public p…
使用delegate总是一头雾水,记录一下笔记,备忘. 主要用于线程间操作UI上的控件,以便使用.或者是大家统一操作入口使用. using System.Windows.Forms; namespace System.Delegate { public static class UIDelegate { //------------------ public delegate void myDelegateW(Control str, string s); public delegate str…