Inheritance: System.EventArgs
示例#1
0
 void OnActivated(StartEventArgs args)
 {
     if (Activated != null)
         Activated (this, args);
 }
示例#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 ();
     }
 }