/// <summary> /// 设置显示列 /// </summary> public void SetupColumn() { this.ucSetColumn = new Neusoft.HISFC.Components.Common.Controls.ucSetColumn(); this.ucSetColumn.FilePath = filePath; this.ucSetColumn.DisplayEvent += new EventHandler(this.uc_GoDisplay); Neusoft.FrameWork.WinForms.Classes.Function.PopForm.Text = "显示设置"; Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(this.ucSetColumn); }
/// <summary> ///设置FarPoint 的属性 ///[email protected] 2005.6.29 /// </summary> private void SetUp(string filePath) { Neusoft.HISFC.Components.Common.Controls.ucSetColumn uc = new Neusoft.HISFC.Components.Common.Controls.ucSetColumn(); uc.FilePath = filePath; if (filePath == FilePath) { //uc.GoDisplay += new neusoft.Common.Controls.ucSetCol.DisplayNow(uc_GoDisplay); } Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(uc); }
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); }