摘要:
project --> add windows form起名叫 Form2在form2 中 加两个buttonprivate void okbutton_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; } private void cancelbutton_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; }在主form 中 加一个buttonprivate void aboutbutto 阅读全文