/// <summary> /// Handles the FormClosed event of the FormSplashScreen control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Windows.Forms.FormClosedEventArgs"/> instance containing the event data.</param> private void FormSplashScreen_FormClosed(object sender, FormClosedEventArgs e) { // check smart view if (Argon.Windows.Forms.Properties.Settings.Default.StartInSmartView) { UseCaseSmartView.ExecuteDisplaySmartView(); } if (Argon.Windows.Forms.Properties.Settings.Default.StartInTrayArea) { UseCaseSmartView.ExecuteDisplayInTrayArea(); } if (Argon.Windows.Forms.Properties.Settings.Default.StartNormal) { UseCaseSmartView.ExecuteDisplayNormal(); } }
/// <summary> /// Handles the DoubleClick event of the notifyIcon control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void notifyIcon_DoubleClick(object sender, EventArgs e) { UseCaseSmartView.ExecuteDisplayNormal(); }