public BTL() { InitializeComponent(); _cIG = new ManagementSoapClient(); _aSelectedItems = new List<EffectInfo>(); _cIG.BaetylusEffectsInfoGetCompleted += new EventHandler<BaetylusEffectsInfoGetCompletedEventArgs>(_cIG_BaetylusEffectsInfoGetCompleted); _cIG.BaetylusEffectStopCompleted += new EventHandler<BaetylusEffectStopCompletedEventArgs>(_cIG_BaetylusEffectStopCompleted); _cIG.RestartServicesCompleted += new EventHandler<System.ComponentModel.AsyncCompletedEventArgs>(_cIG_RestartServicesCompleted); _cIG.BaetylusEffectsInfoGetAsync(); }
public BTL() { InitializeComponent(); _cIG = new ManagementSoapClient(); _aSelectedItems = new List <EffectInfo>(); _cIG.BaetylusEffectsInfoGetCompleted += new EventHandler <BaetylusEffectsInfoGetCompletedEventArgs>(_cIG_BaetylusEffectsInfoGetCompleted); _cIG.BaetylusEffectStopCompleted += new EventHandler <BaetylusEffectStopCompletedEventArgs>(_cIG_BaetylusEffectStopCompleted); _cIG.RestartServicesCompleted += new EventHandler <System.ComponentModel.AsyncCompletedEventArgs>(_cIG_RestartServicesCompleted); _cIG.BaetylusEffectsInfoGetAsync(); }