Exemplo n.º 1
0
 private void GUIThreadAsynchroneEventCallback(GuideDataEventType type, string identifier)
 {
     if (GuideDataEvent != null)
     {
         GuideDataEvent(this, new GuideDataEventArgs(type, identifier));
     }
 }
Exemplo n.º 2
0
 private void AsynchroneEventCallback(GuideDataEventType type, string identifier)
 {
     if (this.control != null && this.control.InvokeRequired)
     {
         this.control.BeginInvoke(new GuideDataEventDelegate(this.GUIThreadAsynchroneEventCallback), new object[] { type, identifier });
     }
     else
     {
         GUIThreadAsynchroneEventCallback(type, identifier);
     }
 }
Exemplo n.º 3
0
 public GuideDataEventArgs(GuideDataEventType type, string identifier)
 {
     this.type       = type;
     this.identifier = identifier;
 }
Exemplo n.º 4
0
Arquivo: EPG.cs Projeto: dgis/CodeTV
 public GuideDataEventArgs(GuideDataEventType type, string identifier)
 {
     this.type = type;
     this.identifier = identifier;
 }
Exemplo n.º 5
0
Arquivo: EPG.cs Projeto: dgis/CodeTV
 private void GUIThreadAsynchroneEventCallback(GuideDataEventType type, string identifier)
 {
     if (GuideDataEvent != null)
         GuideDataEvent(this, new GuideDataEventArgs(type, identifier));
 }
Exemplo n.º 6
0
Arquivo: EPG.cs Projeto: dgis/CodeTV
 private void AsynchroneEventCallback(GuideDataEventType type, string identifier)
 {
     if (this.control != null && this.control.InvokeRequired)
         this.control.BeginInvoke(new GuideDataEventDelegate(this.GUIThreadAsynchroneEventCallback), new object[] { type, identifier });
     else
         GUIThreadAsynchroneEventCallback(type, identifier);
 }