private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
{
MessageBox.Show(this.textBox1.Text);
}
}
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
{
MessageBox.Show(this.textBox1.Text);
}
}
/// <summary> /// 將數據序列化爲Xml /// </summary> /// <param name="oType">被序列化的數據類型(實體類類型或者集合類型