コード例 #1
0
 void OnActivated(StartEventArgs args)
 {
     if (Activated != null)
     {
         Activated(this, args);
     }
 }
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: alfredodev/mono-tools
		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 ();
			}
		}
コード例 #3
0
ファイル: StartPage.cs プロジェクト: col42dev/mono-tools
		void OnActivated (StartEventArgs args)
		{
			if (Activated != null)
				Activated (this, args);
		}