public bool InputLogin()
{
bool bl = false;
if (txtLoginID.Text == "")
{
MessageBox.Show("è´¦å·ä¸è½ä¸ºç©º");
return bl;
}
else if (txtLoginPWD.Text == "")
{
MessageBox.Show("å¯ç ä¸è½ä¸ºç©º");
return bl;
}
else
{
Form2 haha = new Form2();
haha.Show();
return true;
}
å¨æåçæ¡ä»¶åºä¸returnä¸ä¸ªå¼å°±å¯ä»¥äºã
温馨提示:答案为网友推荐,仅供参考