Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 internal void RaiseOnMouseDownEvent(object sender, _WMPOCXEvents_MouseDownEvent e)
 {
     if ((this.MouseDownEvent != null)) {
         this.MouseDownEvent(sender, e);
     }
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 private void axWindowsMediaPlayer1_MouseDownEvent(object sender, _WMPOCXEvents_MouseDownEvent e)
 {
     groupBox1.Visible = false;
 }