private void gridProperty_Click(object sender, EventArgs e) { GridSeting gridSeting = new GridSeting(); gridSeting.DataChange += new EFS.GridSeting.DataChangeHandler(DataChanged); gridSeting.ShowDialog(); }
/// <summary> /// 设置网格窗口确定事件的委托 /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void DataChanged(object sender, EFS.GridSeting.DataChangeEventArgs args) { SetGridRange(zedGraphControl, args); GridSeting gridSeting = (GridSeting)sender; gridSeting.Close(); toolStrip.Enabled = true; }