private void DismissKeyboard()
        {
            if (TitleTextView.CanResignFirstResponder)
            {
                TitleTextView.ResignFirstResponder();
            }

            if (NoteDescriptionTextView.CanResignFirstResponder)
            {
                NoteDescriptionTextView.ResignFirstResponder();
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (AddImageButton != null)
            {
                AddImageButton.Dispose();
                AddImageButton = null;
            }

            if (DeleteImageButton != null)
            {
                DeleteImageButton.Dispose();
                DeleteImageButton = null;
            }

            if (NoteCompletedSwitch != null)
            {
                NoteCompletedSwitch.Dispose();
                NoteCompletedSwitch = null;
            }

            if (NoteDescriptionTextView != null)
            {
                NoteDescriptionTextView.Dispose();
                NoteDescriptionTextView = null;
            }

            if (NoteImageView != null)
            {
                NoteImageView.Dispose();
                NoteImageView = null;
            }

            if (TitleTextView != null)
            {
                TitleTextView.Dispose();
                TitleTextView = null;
            }
        }