带Icon的Taskpanel可以给我源代码吗? [英] Taskpanel with Icon can yoiu give me a source codes?

查看:75
本文介绍了带Icon的Taskpanel可以给我源代码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用vb.net中的imagelist控件在任务面板中放置图标?

how do i put an icon in a taskpanel using imagelist control in vb.net?

推荐答案

指定的转换无效.""
这意味着您试图将一个对象分配/投射到另一个对象的行是不同类型的.更清楚地说,您不能将字符串分配给整数,也不能尝试在不进行任何转换的情况下将字符串转换为整数.
"Specified cast is not valid.""
This means that the line where you are trying to assign/cast one object to other are of different types. To be more clear, you cannot assign a string to an integer or try to cast a string into integer without any conversion.
int i = "sandeep"; //wrong
int i = (int)("12"); // wrong



您需要确保基础对象类型匹配,才能将一个对象分配给其他对象.



You need to make sure that the base object type matches in order to assign one object to other.


这篇关于带Icon的Taskpanel可以给我源代码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆