Exemplo n.º 1
0
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static Settings getInstance()
        {
            if (cInstance == null)
            cInstance = new Settings();

              return (cInstance);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 
        /// </summary>
        public ContributeConfirmation()
        {
            InitializeComponent();

              StringBuilder lContributionStr = new System.Text.StringBuilder();
              lContributionStr.Append(@"{\rtf1\ansi {\b \fs30 Disclaimer}\line \line Hereby you confirm that you will use this software only for educational purpose. " +
                @"The creator of this program doesn't take any responsibility and is not liable for any damage caused " +
                @"through use of this software, be it direct, indirect, incidental or consequential damages. \line \line \line" +
                @"{\b \fs30 User contributions}\line \line This is the free version of Simsang. Hereby you confirm that by each scan " +
                @"you have conducted you contribute parts of the outcome to the user comunity and that we are permitted to use this " +
                @"data for further evaluations. The contributed parts are " +
                @"namely the {\b first three octets} of the default gateway and the {\b software version}.\line " +
                @"Only this data and nothing else, {\b \fs25 no sensitive data} that was discovered during a scan is or will be transferred to us as project contribution. " +
                @"We fully respect your privacy and appreciate your contribution.}");

              RTB_Agreement.Rtf = lContributionStr.ToString();

              cSettings = Settings.getInstance();
        }