MessageBox.Show(this.textEdit.EditValue.toString());
MessageBox.Show(this.textEdit.Text.toString());

解决方案 »

  1.   

    MessageBox.Show(this.textEdit.EditValue.toString());
    MessageBox.Show(this.textEdit.Text.toString());
    你在给this.textEdit赋值完以后加个断点,然后单步调试,看看在哪里的时候textEdit的值没了,然后在找原因。
      

  2.   

    MessageBox.Show(this.textEdit.EditValue.toString());
    MessageBox.Show(this.textEdit.Text.toString());
    你在给this.textEdit赋值完以后加个断点,然后单步调试,看看在哪里的时候textEdit的值没了,然后在找原因。类似于this.textbox1.text.tostring();  上哪测试呢?
      

  3.   

    重新贴下错误问题:
    C#  ParentForm
    保存 按钮代码:
    ChildForm form = new ChildForm();
    form.MessageShow();
    C#  ChildForm
    public  Void MessageShow()
    {MessageBox.show(this.txtEdit.text.tostring());
    }就是以上错误根本问题,请予以帮助。