Example #1
0
        public DialogResult ShowDialog()
        {
            if (m_FormPostPhoto == null)
            {
                m_FormPostPhoto = new FormPostPhoto();
            }

            return(m_FormPostPhoto.ShowDialog());
        }
Example #2
0
 private void initializeIfNull()
 {
     if (m_FormPostPhoto == null)
     {
         lock (m_PostPhotoLock)
         {
             if (m_FormPostPhoto == null)
             {
                 m_FormPostPhoto = new FormPostPhoto();
             }
         }
     }
 }