private void btnKaydet_Click(object sender, EventArgs e)
{
MessageBox.Show(" Sayin " + txtAdi.Text + txtSoyadi.Text
+ " " + "Kredi Miktari=" + txtMiktar.Text.ToString() + "TL"
+ Environment.NewLine + "Aylik Odeme=" + nmrVade.Value + "TL",
MessageBoxButtons.YesNo
);
}
如何解决这 2 个错误?
错误 2 参数 2:无法从 'System.Windows.Forms.MessageBoxButtons' 转换为 'string' C:\Users\LEVENT\Desktop\bilge adam\week1_day3\WinBatanBank\WinBatanBank\Form1.cs 23 189 WinBatanBank
错误 1 'System.Windows.Forms.MessageBox.Show(string, string)' 的最佳重载方法匹配有一些无效参数 C:\Users\LEVENT\Desktop\bilge adam\week1_day3\WinBatanBank\WinBatanBank\Form1.cs 23 13 温巴坦银行