Exemplo n.º 1
0
        //Link Properties click handler
        private void lnkProperties_Click(object sender, EventArgs e)
        {
            frmProperties Properties = new frmProperties(ActualPreferences.Algorithm, ActualPreferences.Password, ActualPreferences.Key, ActualPreferences.AskPassword);

            Properties.ShowDialog();
            if (Properties.IsCanceled == false)
            {
                ActualPreferences.Algorithm   = Properties.Algorithm;
                ActualPreferences.Key         = Properties.Key;
                ActualPreferences.Password    = Properties.Password;
                ActualPreferences.AskPassword = Properties.AskPassword;
            }
        }
Exemplo n.º 2
0
 //Link Properties click handler
 private void lnkProperties_Click(object sender, EventArgs e)
 {
     frmProperties Properties = new frmProperties(ActualPreferences.Algorithm, ActualPreferences.Password, ActualPreferences.Key, ActualPreferences.AskPassword);
     Properties.ShowDialog();
     if (Properties.IsCanceled == false)
     {
         ActualPreferences.Algorithm = Properties.Algorithm;
         ActualPreferences.Key = Properties.Key;
         ActualPreferences.Password = Properties.Password;
         ActualPreferences.AskPassword = Properties.AskPassword;
     }
 }