Exemplo n.º 1
0
        private void RaiseNewProfileEvent(bool aReadSuccess, int aNumStations)
        {
            NewProfileEventArgs args = new NewProfileEventArgs();

            args.ReadSuccess = aReadSuccess;
            args.numStations = aNumStations;
            OnNewProfileRead(args);
        }
Exemplo n.º 2
0
        protected virtual void OnNewProfileRead(NewProfileEventArgs e)
        {
            EventHandler <NewProfileEventArgs> handler = NewProfileDataRead;

            if (handler != null)
            {
                handler(this, e);
            }
        }