Пример #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Displays a message box asking the user whether or not he wants to open a sample DB.
 /// </summary>
 /// <returns><c>true</c> if user consented to opening the sample database; <c>false</c>
 /// otherwise.</returns>
 /// ------------------------------------------------------------------------------------
 protected override bool ShowFirstTimeMessageDlg()
 {
     CloseSplashScreen();
     using (TrainingAvailable dlg = new TrainingAvailable())
     {
         return(dlg.ShowDialog() == DialogResult.Yes);
     }
 }
Пример #2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Displays a message box asking the user whether or not he wants to open a sample DB.
		/// </summary>
		/// <returns><c>true</c> if user consented to opening the sample database; <c>false</c>
		/// otherwise.</returns>
		/// ------------------------------------------------------------------------------------
		protected override bool ShowFirstTimeMessageDlg()
		{
			CloseSplashScreen();
			using (TrainingAvailable dlg = new TrainingAvailable())
			{
				return (dlg.ShowDialog() == DialogResult.Yes);
			}
		}