Moved constant to Constants file
This commit is contained in:
		
							parent
							
								
									2c225b233c
								
							
						
					
					
						commit
						aa2a81cc02
					
				@ -42,6 +42,11 @@ namespace Outlook2013TodoAddIn
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public const string DonateUrl = "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ZXYEC3PM6K7TQ&lc=US&item_name=Outlook2103AddInBuyBeer¤cy_code=USD&bn=PP%2dDonationsBF%3amybutton%2epng%3aNonHosted";
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// Topmost value
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public const int WS_EX_TOPMOST = 0x00000008;
 | 
			
		||||
 | 
			
		||||
        #endregion "Variables"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -26,18 +26,13 @@ namespace Outlook2013TodoAddIn.Forms
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// Don't close the for if the mouse is over it
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        private bool mouseIsOver = false;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// Topmost value
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        private const int WS_EX_TOPMOST = 0x00000008;
 | 
			
		||||
 | 
			
		||||
        #endregion "Variables"
 | 
			
		||||
        private bool mouseIsOver = false;
 | 
			
		||||
        /// <summary>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        #region "Properties"
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// Attached email message to open or flag
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public Microsoft.Office.Interop.Outlook.MailItem Email { get; set; }
 | 
			
		||||
@ -60,7 +55,7 @@ namespace Outlook2013TodoAddIn.Forms
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
                CreateParams value = base.CreateParams;
 | 
			
		||||
                value.ExStyle |= WS_EX_TOPMOST;
 | 
			
		||||
                value.ExStyle |= Constants.WS_EX_TOPMOST;
 | 
			
		||||
                return value;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user