作者Lorris (nii)
看板C_Sharp
标题[问题] 请问 DragDrop 的用法
时间Mon Mar 21 19:54:50 2005
请问,
若是我的Form 里面有一个 textBox1,
我想要当我把外部档案拖曳到Form的时候,
textBox1就会显示 "OK",
要怎麽作呢??
我直接
private void Form1_DragDrop(object sender,
System.Windows.Forms.DragEventArgs e)
{
textBox1.Text = "OK" ;
}
但拖曳档案时 都不会显示OK
请问是哪里错了呢
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.31.95
※ 编辑: Lorris 来自: 140.112.31.95 (03/21 19:55)