rt,
解决方案 »
- C#WINFORM模拟POST提交到JSP网站,中文乱码。
- CurPath.Add(FullName);错误 1 当前上下文中不存在名称“CurPath”
- 问一个小问题,C#WinForm程序引用的Dll文件都会根目录下我想放在一个专门的DLL文件夹下应该怎么做????????????????
- 急急!NameValueCollection 类型的变量如何累加到一个NameValueCollection 类型的变量中啊???????????????
- 如何将52080.39转换为52,080.39这样的会计数据?
- listview拖拽问题~
- 为什么C#的CS文件被编译后,WEB应用不再执行CS里的代码,而一定要调用DLL呢?
- 使用C#开发IE工具条,类似Yahoo,Google,Alexa的,各位支招
- C#实现两个WinForm间的传值
- Devexpress RichEdit 支持打开word、execl及pdf文档吗
- 请教一个VS2003升级到VS2005后ActiveX的问题,急求帮助,谢谢!
- 急,求解决办法
{
ListView _ListView = (ListView)sender;
ListViewItem _Item = _ListView.GetItemAt(e.X, e.Y);
if (_Item == null) return;
string _ShowText="";
for(int i=0;i!=_ListView.Columns.Count;i++)
{
_ShowText+=listView1.Columns[i].Text+":"+_Item.SubItems[i].Text+"\r\n";
}
toolTip1.Show(_ShowText, _ListView, e.X+16, e.Y); }
{
ListBox _ListBox = (ListBox)sender;
for(int i=0;i!=_ListBox.Items.Count;i++)
{
Rectangle _Rect = _ListBox.GetItemRectangle(i); if (_Rect.Contains(e.X, e.Y))
{
toolTip1.Show(_ListBox.Items[i].ToString(), _ListBox, e.X + 16, e.Y, 3000);
}
}
}
private void listBox1_MouseMove(object sender, MouseEventArgs e)
{
ListBox _ListBox = (ListBox)sender;
for (int i = 0; i != _ListBox.Items.Count; i++)
{
Rectangle _Rect = _ListBox.GetItemRectangle(i);
if (_Rect.Contains(e.X, e.Y))
{
if (toolTip1.Tag == (object)i)
{
return;
}
else
{
toolTip1.Show(_ListBox.Items[i].ToString(), _ListBox, e.X + 16, e.Y, 3000);
toolTip1.Tag = i;
}
}
}
}