private void openFind(object sender, EventArgs e) { // Create form to be owned. Form ownedForm = new FindForm(); this.AddOwnedForm(ownedForm); // Show the owned form. ownedForm.Show(); }
private void openReplace(object sender, EventArgs e) { // Create form to be owned. FindForm ownedForm = new FindForm(); this.AddOwnedForm(ownedForm); ownedForm.selectTab(ownedForm.C_REPLACE); ownedForm.Show(); }
private void 查找ToolStripMenuItem_Click(object sender, EventArgs e) { FindForm findForm = new FindForm(); findForm.ShowDialog(); }