// delegate void HandleGetNewinfo(); private void UnNormalFm_Load(object sender, EventArgs e) { AutoSizeColumn(task_data); initdata(); t1.Start();//定时刷新 TimeToClike.Start(); this.task_data.DoubleBufferedDataGirdView(true); }
// delegate void HandleGetNewinfo(); private void UnNormalFm_Load(object sender, EventArgs e) { //HandleGetNewinfo task = GetNewInfo ; //task.BeginInvoke(null, null); TimeToClike.Start(); //labelAllCustomerC.Text = "总户数:" + list2.Sum(a=>a.Count); AutoSizeColumn(task_data); this.task_data.DoubleBufferedDataGirdView(true); }
public UnNormalFm() { InitializeComponent(); UpdateControlEnable(false, BtnEnd); Initdata(); TimeToClike.Start(); opcServer = new OPCServer(); handle += UpdateListBox; ListLineNum.Add("1"); }