private void wakeup1(object sender, _WMPOCXEvents_MouseDownEvent e) { globalcounter = 0; label1.Visible = true; label2.Visible = true; label3.Visible = true; trackBar1.Visible = true; button1.Visible = true; button2.Visible = true; cusorcount++; Cursor.Show(); }
internal void RaiseOnMouseDownEvent(object sender, _WMPOCXEvents_MouseDownEvent e) { if ((this.MouseDownEvent != null)) { this.MouseDownEvent(sender, e); } }
public virtual void MouseDown(short nButton, short nShiftState, int fX, int fY) { _WMPOCXEvents_MouseDownEvent mousedownEvent = new _WMPOCXEvents_MouseDownEvent(nButton, nShiftState, fX, fY); this.parent.RaiseOnMouseDownEvent(this.parent, mousedownEvent); }
private void axWindowsMediaPlayer1_MouseDownEvent(object sender, _WMPOCXEvents_MouseDownEvent e) { groupBox1.Visible = false; }