/// <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();
     }
 }
 /// <summary>
 /// Tools Menu Tray TOTP Help Click.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 internal void OnMenuHelpClick(object sender, EventArgs e)
 {
     if (!_helpForm.Visible)
     {
         _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();
         }
     }
 }
 /// <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 (!Settings.FirstInstallShown)
     {
         Settings.FirstInstallShown = true;
         if (!_helpForm.Visible)
         {
             _helpForm = new FormHelp(true);
             _helpForm.Show();
         }
         else
         {
             _helpForm.Focus();
         }
     }
 }
示例#5
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();
         }
     }
 }