상속: System.EventArgs
예제 #1
0
파일: StartPage.cs 프로젝트: mono/emveepee
 void OnActivated(StartEventArgs args)
 {
     if (Activated != null)
         Activated (this, args);
 }
예제 #2
0
파일: MainWindow.cs 프로젝트: mono/emveepee
 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 ();
     }
 }