Пример #1
0
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == 0x0312)
         switch ((int)m.WParam)
         {
             case 501: MessageBox.Show("OKKK") ; break;
             case 502: OSDInfo p = new OSDInfo(); p.Show(); break;
             case 503: OSDInfo f = new OSDInfo(); f.Show(); break;
             case 504: OSDInfo i = new OSDInfo(); i.Show(); break;
             case 505: OSDInfo r = new OSDInfo(); r.Show(); break;
             case 506: OSDInfo mm = new OSDInfo(); mm.Show(); break;
         }
     base.WndProc(ref m);
 }
Пример #2
0
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == 0x0312)
         switch ((int)m.WParam)
         {
             case 501: roditelj.nextChan(); break;
             case 502: roditelj.prevChan(); break;
             case 503: VLCTestApp.ViewVideo.gEkran.ToggleFullscreen() ; break;
             case 504: OSD.OSDInfo i = new OSD.OSDInfo(); i.Show(); break;
             case 505: OSD.OSDInfo r = new OSD.OSDInfo(); r.Show(); break;
             case 506: VLCTestApp.ViewVideo.gEkran.VolumeMute(); break;
         }
     base.WndProc(ref m);
 }