vscroll_widget.cs
来自「破解的飞信源代码」· CS 代码 · 共 70 行
CS
70 行
namespace Imps.Client.Pc.BizControls
{
using System;
using System.Runtime.CompilerServices;
public class vscroll_widget : scroll_widget
{
public event EventHandler click_down_button;
public event EventHandler click_up_button;
public event EventHandler scroll_line_down;
public event EventHandler scroll_line_up;
public vscroll_widget()
{
this.scroll_line_up = (EventHandler) Delegate.Combine(this.scroll_line_up, new EventHandler(this.on_scroll_line_up));
this.scroll_line_down = (EventHandler) Delegate.Combine(this.scroll_line_down, new EventHandler(this.on_scroll_line_down));
this.click_up_button = (EventHandler) Delegate.Combine(this.click_up_button, new EventHandler(this.on_click_up_button));
this.click_down_button = (EventHandler) Delegate.Combine(this.click_down_button, new EventHandler(this.on_click_down_button));
}
protected override void on_click_back_button()
{
this.click_down_button(this, null);
}
private void on_click_down_button(object sender, EventArgs args)
{
}
protected override void on_click_prev_button()
{
this.click_up_button(this, null);
}
private void on_click_up_button(object sender, EventArgs args)
{
}
protected override void on_scroll_line_back()
{
this.scroll_line_down(this, null);
}
private void on_scroll_line_down(object sender, EventArgs args)
{
}
protected override void on_scroll_line_prev()
{
this.scroll_line_up(this, null);
}
private void on_scroll_line_up(object sender, EventArgs args)
{
}
public override bool vertical
{
get
{
return true;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?