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