private void linkLblSet_Click(object sender, EventArgs e) { Neusoft.HISFC.Components.Common.Controls.ucSetColumn uc = new Neusoft.HISFC.Components.Common.Controls.ucSetColumn(); uc.FilePath = this.mainSettingFilePath; uc.SetDataTable(this.mainSettingFilePath, this.fpSpread1_Sheet1); Neusoft.FrameWork.WinForms.Classes.Function.PopForm.Text = "显示设置"; Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(uc); uc.DisplayEvent += new EventHandler(ucSetColumn_DisplayEvent); this.ucSetColumn_DisplayEvent(null, null); }
private void ColumnSet() { Neusoft.HISFC.Components.Common.Controls.ucSetColumn uc = new Neusoft.HISFC.Components.Common.Controls.ucSetColumn(); uc.FilePath = this.filePathCurePhase; uc.SetColVisible(true, true, false, false); uc.SetDataTable(this.filePathCurePhase, this.fpCurePhase.Sheets[0]); Neusoft.FrameWork.WinForms.Classes.Function.PopForm.Text = "显示设置"; Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(uc); uc.DisplayEvent += new EventHandler(ucSetColumn_DisplayEvent); this.ucSetColumn_DisplayEvent(null, null); }