/// <summary> /// 工程资料用表 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tsmiFileLoe_Click(object sender, EventArgs e) { frmCellMain frm = new frmCellMain(this); frm.Show(); this.Hide(); }
public frmMainSearch(Form frm) { InitializeComponent(); this.txtSearchTitle.OnTextChanged += txtSearchTitle_TextChanged; if (frm.Name == "frmCellMain") { this._parentForm = (frmCellMain)frm; } else if (frm.Name == "frmFileMain") { this._parentFormEx = (frmFileMain)frm; } CheckText(); }