Exemplo n.º 1
0
        internal void MainFormTxtChaned(object sender, EventArgs e)
        {
            //取到主窗体的传来的文本
            MyEventArg arg = e as MyEventArg;

            this.SetText(arg.Text);
        }
Exemplo n.º 2
0
        public void AfterParentFrmTextChange(object sender, EventArgs e)
        {
            //拿到父窗体的传来的文本
            MyEventArg arg = e as MyEventArg;

            this.SetText(arg.Text);
        }