Пример #1
0
 //-----------------------------------------------------
 private void m_btnOk_Click(object sender, EventArgs e)
 {
     DialogResult = DialogResult.OK;
     if (m_txtDuree.IntValue != null)
     {
         CParametresNotification.DureeAffichage = m_txtDuree.IntValue.Value;
     }
     CParametresNotification.ShouldPlaySound = m_chkPlaySound.Checked;
     CParametresNotification.SoundFile       = m_txtNomFichier.Text;
     CParametresNotification.SavePreferences();
 }