[DllImport("user32.dll")]
static extern void mouse_event(MouseEventFlag flags, int dx, int dy, uint data, UIntPtr extraInfo);//鼠标事件
[DllImport("user32.dll")]
public static extern short GetCursorPos(ref System.Drawing.Point point); //得到鼠标坐标
[DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y); 这几个API就搞定
不是很懂 能说具体点不
但是
string str = ((LinkButton)sender).Style["margin-top"];
string str1 = ((LinkButton)sender).Style["top"];
得到的全部都是NULL
怎么解决 ?期待高手指点
但是
string str = ((LinkButton)sender).Style["margin-top"];
string str1 = ((LinkButton)sender).Style["top"];
得到的全部都是NULL
怎么解决 ?期待高手指点
属性是否设置
LinkButton btn = sender as LinkButton;