Form1.button_Click(...) {
// Show a dialog form, which runs a method <CheckBalance()> on it's OnLoad Event.
var modemDialog = new ModemDialog("COM25");
modemDialog.ShowDialog();
// the user can't see this dialog form until the method <CheckBalance()> terminates.
}
是否可以先显示对话框然后运行指定的方法? 谢谢。窗体Visiblity问题
谢谢确实,工作就像一个魅力。 – Dohamsg