public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (InitialPrompt.Length != 0)
            {
                hash ^= InitialPrompt.GetHashCode();
            }
            if (DenialPrompt.Length != 0)
            {
                hash ^= DenialPrompt.GetHashCode();
            }
            if (Optional != false)
            {
                hash ^= Optional.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (BeggingEnabled != false)
            {
                hash ^= BeggingEnabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        private void LaunchInitialWindow()
        {
            InitialPrompt _init = new InitialPrompt();

            if (_init.ShowDialog() == DialogResult.No)  // load an existing list
            {
                _pm.loadAccountFile();
                _pm.generateDatafromXML(_pm.activeFilePath);
                addAccounts();
                UpdateFilePathDisplay();
            }
        }