/// <summary> /// 设置网格宽度 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void menuItem1_Click(object sender, System.EventArgs e) { Common.Controls.ucSetColumn uc = new Common.Controls.ucSetColumn(); uc.FilePath = this.filePath; //uc.DisplayEvent += new EventHandler(uc_GoDisplay); Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(uc); }
/// <summary> ///设置FarPoint 的属性 /// </summary> private void SetUp(string filePath) { Common.Controls.ucSetColumn uc = new Common.Controls.ucSetColumn(); uc.FilePath = filePath; if (filePath == filePath9) { //uc.DisplayEvent += new EventHandler(uc_GoDisplay9); } else if (filePath == filePath10) { //uc.DisplayEvent += new EventHandler(uc_GoDisplay10);// Common.Controls.ucSetColumn.DisplayNow(uc_GoDisplay10); } else { //uc.DisplayEvent += new EventHandler(uc_GoDisplayCompare);// Common.Controls.ucSetColumn.DisplayNow(uc_GoDisplayCompare); } Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(uc); }