Tag: onmousemove

如何从表单控件向statusStrip提供值?

这是我的控件的上下文: /* Form StatusStrip ToolStripStatusLabel TableLayoutPanel MyGenioView */ 因此, MyGenioView正在拦截MouseMove事件处理程序。 已经存在的代码是橡皮筋矩形。 所以我有: public void MyMouseMove(Object sender, MouseEventArgs e) { Point ptCurrent = new Point(eX, eY); // If we “have the mouse”, then we draw our lines. if (m_bHaveMouse) { // If we have drawn previously, draw again in // that spot to remove the lines. […]