Пример #1
0
 private void GUIThreadAsynchroneEventCallback(GuideDataEventType type, string identifier)
 {
     if (GuideDataEvent != null)
     {
         GuideDataEvent(this, new GuideDataEventArgs(type, identifier));
     }
 }
Пример #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);
     }
 }
Пример #3
0
 public GuideDataEventArgs(GuideDataEventType type, string identifier)
 {
     this.type       = type;
     this.identifier = identifier;
 }
Пример #4
0
Файл: EPG.cs Проект: dgis/CodeTV
 public GuideDataEventArgs(GuideDataEventType type, string identifier)
 {
     this.type = type;
     this.identifier = identifier;
 }
Пример #5
0
Файл: EPG.cs Проект: dgis/CodeTV
 private void GUIThreadAsynchroneEventCallback(GuideDataEventType type, string identifier)
 {
     if (GuideDataEvent != null)
         GuideDataEvent(this, new GuideDataEventArgs(type, identifier));
 }
Пример #6
0
Файл: EPG.cs Проект: 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);
 }