LibraryChannel CallGetChannel(bool bBeginLoop) { if (this.GetChannel == null) return null; GetChannelEventArgs e = new GetChannelEventArgs(); e.BeginLoop = bBeginLoop; this.GetChannel(this, e); if (string.IsNullOrEmpty(e.ErrorInfo) == false) throw new Exception(e.ErrorInfo); return e.Channel; }
LibraryChannel CallGetChannel(bool bBeginLoop) { if (this.GetChannel == null) { return(null); } GetChannelEventArgs e = new GetChannelEventArgs(); e.BeginLoop = bBeginLoop; this.GetChannel(this, e); if (string.IsNullOrEmpty(e.ErrorInfo) == false) { throw new Exception(e.ErrorInfo); } return(e.Channel); }
void binaryResControl1_GetChannel(object sender, GetChannelEventArgs e) { e.Channel = this.GetChannel(); this.stop.OnStop += new StopEventHandler(this.DoStop); this.stop.BeginLoop(); }
private void kernelResTree1_GetChannel(object sender, GetChannelEventArgs e) { e.Channel = this.MainForm.GetChannel(); }