Inheritance: System.EventArgs
Esempio n. 1
0
 void OnActivated(StartEventArgs args)
 {
     if (Activated != null)
         Activated (this, args);
 }
Esempio n. 2
0
 void OnStartPageActivated(object o, StartEventArgs args)
 {
     switch (args.Type) {
     case StartEventType.Create:
         OnNewActivated (null, null);
         break;
     case StartEventType.Open:
         if (args.Detail == null)
             OnOpenActivated (null, null);
         else
             OpenProfile (args.Detail);
         break;
     case StartEventType.Repeat:
         StartProfile (args.Config);
         break;
     default:
         throw new NotSupportedException ();
     }
 }