internal void MainFormTxtChaned(object sender, EventArgs e) { //取到主窗体的传来的文本 MyEventArg arg = e as MyEventArg; this.SetText(arg.Text); }
public void AfterParentFrmTextChange(object sender, EventArgs e) { //拿到父窗体的传来的文本 MyEventArg arg = e as MyEventArg; this.SetText(arg.Text); }