private void SetExtraButtonText()
 {
     if (m_dialog != null)
     {
         if (!string.IsNullOrEmpty(m_datepickerWithExtraButton.ExtraButtonText))
         {
             m_dialog.GetButton((int)DialogButtonType.Neutral).Text = m_datepickerWithExtraButton.ExtraButtonText;
         }
         else
         {
             m_dialog.SetButton((int)DialogButtonType.Neutral, m_datepickerWithExtraButton.ExtraButtonText, this);
         }
     }
 }