0

私はサインインプログラムを書いています。新しいユーザーが初めて ID を入力すると、Microsoft.VisualBasic.Interaction.Inputbox を使用して姓名を入力するよう求められます。ユーザーが分の終わりまでに [OK] を押さない場合は、この入力ボックスを 1 分後にタイムアウトし、代わりに空の文字列を返すことができるようにする必要があります。

string first;
string last;
first = Interaction.InputBox("What is your first name?", "First Name", "");
last = Interaction.InputBox("What is your last name?", "Last Name", "");
4

1 に答える 1