Exemplo n.º 1
0
        /// <summary>
        /// Raises the <see cref="E:Loaded" /> event.
        /// </summary>
        /// <param name="args">The <see cref="WorldEventArgs"/> instance containing the event data.</param>
        protected virtual void OnLoaded(WorldEventArgs args)
        {
            EventHandler <WorldEventArgs> handler = Loaded;

            if (handler != null)
            {
                handler(this, args);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the <see cref="E:Loaded" /> event.
 /// </summary>
 /// <param name="args">The <see cref="WorldEventArgs"/> instance containing the event data.</param>
 protected virtual void OnLoaded(WorldEventArgs args)
 {
     EventHandler<WorldEventArgs> handler = Loaded;
     if (handler != null)
     {
         handler(this, args);
     }
 }