Example #1
0
 /// <summary>
 /// Tools Menu Tray Totp Help Click.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnMenuHelpClick(object sender, EventArgs e)
 {
     if (!HelpForm.Visible)
     {
         HelpForm.Show();
     }
     else
     {
         HelpForm.Focus();
     }
 }
Example #2
0
 /// <summary>
 /// Occurs when the main window is shown.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainWindow_Shown(object sender, EventArgs e)
 {
     if (!m_host.CustomConfig.GetBool(setname_bool_FirstInstall_Shown, false))
     {
         m_host.CustomConfig.SetBool(setname_bool_FirstInstall_Shown, true);
         if (!HelpForm.Visible)
         {
             HelpForm = new FormHelp(this, true);
             HelpForm.Show();
         }
         else
         {
             HelpForm.Focus();
         }
     }
 }
 /// <summary>
 /// Occurs when the main window is shown.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainWindow_Shown(object sender, EventArgs e)
 {
     if (!m_host.CustomConfig.GetBool(setname_bool_FirstInstall_Shown, false))
     {
         m_host.CustomConfig.SetBool(setname_bool_FirstInstall_Shown, true);
         if (!HelpForm.Visible)
         {
             HelpForm = new FormHelp(this, true);
             HelpForm.Show();
         }
         else
         {
             HelpForm.Focus();
         }
     }
 }