超震撼dj打碟视频直播:Silverlight ListBox上下移动选项
来源:百度文库 编辑:九乡新闻网 时间:2024/04/29 09:33:37
button1是向上,button2是向下,form2是当前窗体(换成页面也一样)
int upIndex =0;
private void button1_Click(object sender, EventArgs e)
{
upIndex = this.listBox1.SelectedIndex;
if (upIndex > 0)
{
upIndex--;
}
listBox1.SelectedIndex = upIndex;
}
private void Form2_Load(object sender, EventArgs e)
{
listBox1.SelectedIndex = 0;
}
private void button2_Click(object sender, EventArgs e)
{
upIndex = this.listBox1.SelectedIndex;
if (upIndex < listBox1.Items.Count - 1)
{
upIndex++;
}
listBox1.SelectedIndex = upIndex;
}
Silverlight ListBox上下移动选项
Silverlight中的ListBox横向显示CheckBox
SilverLight
精品模块(文字可上下移动)
Silverlight技术
LB_INITSTORAGE 消息-listbox消息
LB_INSERTSTRING 消息-listbox消息
透明FLASH特效 随着页面上下移动的代码
资源字典silverlight
HTML Bridge: Silverlight.NET
改变ComboBox中ListBox的宽度
yum常用选项总结
选项越少越快乐
internet选项被禁用
gcc 优化选项
VIM 设置选项
Configure参数选项详解
“捕获”步骤选项面板
Mysql 指定程序选项
在listbox里显示多行文本2
自定义的 ListBoxItem如何自适应ListBox的宽度
WPF与winform与silverlight的区别
(转)Silverlight多线程能力(上)
(转)Silverlight多线程能力(下)