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

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

            this.SetText(arg.Text);
        }