Exemplo n.º 1
0
 private void MnuEditPrefsClick(object sender, System.EventArgs e)
 {
     if (!prefsCreated)
     {
         PrefsForm = new frmPrefs(this, netcom.LoginOptions.FirstName + "_" + netcom.LoginOptions.LastName, prefs);
         PrefsForm.Show();
         prefsCreated = true;
     }
     else
     {
         PrefsForm.Focus();
     }
 }
 private void MnuEditPrefsClick(object sender, System.EventArgs e)
 {
     if(!prefsCreated)
     {
         PrefsForm = new frmPrefs(this,netcom.LoginOptions.FirstName+"_"+netcom.LoginOptions.LastName,prefs);
         PrefsForm.Show();
         prefsCreated = true;
     }else{
         PrefsForm.Focus();
     }
 }