Ejemplo n.º 1
0
        /// <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();
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Handles the Click event of the rbtnSmartView 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 rbtnSmartView_Click(object sender, EventArgs e)
 {
     UseCaseSmartView.ExecuteToggleSmartView();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Handles the Click event of the rbtnShowInTrayArea 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 rbtnShowInTrayArea_Click(object sender, EventArgs e)
 {
     UseCaseSmartView.ExecuteDisplayInTrayArea();
 }
Ejemplo n.º 4
0
 /// <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();
 }