KeePass.Forms.GroupForm.OnBtnOK C# (CSharp) Method

OnBtnOK() private method

private OnBtnOK ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void OnBtnOK(object sender, EventArgs e)
        {
            m_pwGroup.Touch(true, false);

            m_pwGroup.Name = m_tbName.Text;
            m_pwGroup.Notes = m_tbNotes.Text;
            m_pwGroup.IconId = m_pwIconIndex;
            m_pwGroup.CustomIconUuid = m_pwCustomIconID;

            m_pwGroup.Expires = m_cbExpires.Checked;
            m_pwGroup.ExpiryTime = m_dtExpires.Value;

            m_pwGroup.EnableAutoType = UIUtil.GetInheritableBoolComboBoxValue(m_cmbEnableAutoType);
            m_pwGroup.EnableSearching = UIUtil.GetInheritableBoolComboBoxValue(m_cmbEnableSearching);

            if(m_rbAutoTypeInherit.Checked)
                m_pwGroup.DefaultAutoTypeSequence = string.Empty;
            else m_pwGroup.DefaultAutoTypeSequence = m_tbDefaultAutoTypeSeq.Text;
        }