Click here to Skip to main content
15,893,663 members
Articles / Programming Languages / C#

P-Wallet - Personal Encrypted Wallet for Passwords and Texts

Rate me:
Please Sign up or sign in to vote.
4.41/5 (6 votes)
15 Nov 2006CPOL3 min read 31.1K   741   23  
A utility application for keeping passwords in a single encrypted file
namespace Atlantis {
    partial class PWalletForm {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing) {
            if( disposing && (components != null) ) {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent() {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PWalletForm));
            this.MainTabControl = new System.Windows.Forms.TabControl();
            this.SummaryTabPage = new System.Windows.Forms.TabPage();
            this.EditDeleteAreaGroupBox = new System.Windows.Forms.GroupBox();
            this.SecurityTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
            this.AllowExtendedTextCheckBox = new System.Windows.Forms.CheckBox();
            this.AllowCopyToClipoardCheckBox = new System.Windows.Forms.CheckBox();
            this.ShowPlainPasswordsCheckBox = new System.Windows.Forms.CheckBox();
            this.SelectedAreaLabel = new System.Windows.Forms.Label();
            this.DeleteAreaButton = new System.Windows.Forms.Button();
            this.SelectedAreaComboBox = new System.Windows.Forms.ComboBox();
            this.AddNewAreaGroupBox = new System.Windows.Forms.GroupBox();
            this.AddAreaTextBox = new System.Windows.Forms.TextBox();
            this.AddAreaLabel = new System.Windows.Forms.Label();
            this.AddAreaButton = new System.Windows.Forms.Button();
            this.SummaryGroupBox = new System.Windows.Forms.GroupBox();
            this.CurrentFileLabel = new System.Windows.Forms.Label();
            this.CloseButon = new System.Windows.Forms.Button();
            this.ChangeCredentialsButton = new System.Windows.Forms.Button();
            this.SaveButon = new System.Windows.Forms.Button();
            this.IconsImageList = new System.Windows.Forms.ImageList(this.components);
            this.PWalletToolTip = new System.Windows.Forms.ToolTip(this.components);
            this.MainTabControl.SuspendLayout();
            this.SummaryTabPage.SuspendLayout();
            this.EditDeleteAreaGroupBox.SuspendLayout();
            this.SecurityTableLayoutPanel.SuspendLayout();
            this.AddNewAreaGroupBox.SuspendLayout();
            this.SummaryGroupBox.SuspendLayout();
            this.SuspendLayout();
            // 
            // MainTabControl
            // 
            this.MainTabControl.Controls.Add(this.SummaryTabPage);
            this.MainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.MainTabControl.ImageList = this.IconsImageList;
            this.MainTabControl.Location = new System.Drawing.Point(0, 0);
            this.MainTabControl.Name = "MainTabControl";
            this.MainTabControl.SelectedIndex = 0;
            this.MainTabControl.Size = new System.Drawing.Size(464, 255);
            this.MainTabControl.TabIndex = 0;
            this.PWalletToolTip.SetToolTip(this.MainTabControl, "Manipulation of tabs andtheir settings.");
            this.MainTabControl.Selected += new System.Windows.Forms.TabControlEventHandler(this.MainTabControl_Selected);
            // 
            // SummaryTabPage
            // 
            this.SummaryTabPage.Controls.Add(this.EditDeleteAreaGroupBox);
            this.SummaryTabPage.Controls.Add(this.AddNewAreaGroupBox);
            this.SummaryTabPage.Controls.Add(this.SummaryGroupBox);
            this.SummaryTabPage.ImageKey = "TabIconSummary";
            this.SummaryTabPage.Location = new System.Drawing.Point(4, 23);
            this.SummaryTabPage.Name = "SummaryTabPage";
            this.SummaryTabPage.Padding = new System.Windows.Forms.Padding(3);
            this.SummaryTabPage.Size = new System.Drawing.Size(456, 228);
            this.SummaryTabPage.TabIndex = 0;
            this.SummaryTabPage.Text = "Summary";
            this.SummaryTabPage.UseVisualStyleBackColor = true;
            // 
            // EditDeleteAreaGroupBox
            // 
            this.EditDeleteAreaGroupBox.Controls.Add(this.SecurityTableLayoutPanel);
            this.EditDeleteAreaGroupBox.Controls.Add(this.SelectedAreaLabel);
            this.EditDeleteAreaGroupBox.Controls.Add(this.DeleteAreaButton);
            this.EditDeleteAreaGroupBox.Controls.Add(this.SelectedAreaComboBox);
            this.EditDeleteAreaGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.EditDeleteAreaGroupBox.Location = new System.Drawing.Point(3, 51);
            this.EditDeleteAreaGroupBox.Name = "EditDeleteAreaGroupBox";
            this.EditDeleteAreaGroupBox.Size = new System.Drawing.Size(450, 102);
            this.EditDeleteAreaGroupBox.TabIndex = 1;
            this.EditDeleteAreaGroupBox.TabStop = false;
            this.EditDeleteAreaGroupBox.Text = "Edit / Delete area";
            // 
            // SecurityTableLayoutPanel
            // 
            this.SecurityTableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.SecurityTableLayoutPanel.ColumnCount = 2;
            this.SecurityTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.SecurityTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.SecurityTableLayoutPanel.Controls.Add(this.AllowExtendedTextCheckBox, 0, 1);
            this.SecurityTableLayoutPanel.Controls.Add(this.AllowCopyToClipoardCheckBox, 1, 0);
            this.SecurityTableLayoutPanel.Controls.Add(this.ShowPlainPasswordsCheckBox, 0, 0);
            this.SecurityTableLayoutPanel.Location = new System.Drawing.Point(8, 39);
            this.SecurityTableLayoutPanel.Name = "SecurityTableLayoutPanel";
            this.SecurityTableLayoutPanel.RowCount = 2;
            this.SecurityTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.SecurityTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.SecurityTableLayoutPanel.Size = new System.Drawing.Size(435, 55);
            this.SecurityTableLayoutPanel.TabIndex = 5;
            // 
            // AllowExtendedTextCheckBox
            // 
            this.AllowExtendedTextCheckBox.AutoSize = true;
            this.AllowExtendedTextCheckBox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.AllowExtendedTextCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.AllowExtendedTextCheckBox.Location = new System.Drawing.Point(3, 30);
            this.AllowExtendedTextCheckBox.Margin = new System.Windows.Forms.Padding(3, 3, 12, 3);
            this.AllowExtendedTextCheckBox.Name = "AllowExtendedTextCheckBox";
            this.AllowExtendedTextCheckBox.Size = new System.Drawing.Size(202, 22);
            this.AllowExtendedTextCheckBox.TabIndex = 11;
            this.AllowExtendedTextCheckBox.Text = "Allow extended password editing";
            this.PWalletToolTip.SetToolTip(this.AllowExtendedTextCheckBox, "Allows the \'password\' to be longer text. Suitable for longer text securization.");
            this.AllowExtendedTextCheckBox.UseVisualStyleBackColor = true;
            this.AllowExtendedTextCheckBox.CheckedChanged += new System.EventHandler(this.SecurityCheckBox_CheckedChanged);
            // 
            // AllowCopyToClipoardCheckBox
            // 
            this.AllowCopyToClipoardCheckBox.AutoSize = true;
            this.AllowCopyToClipoardCheckBox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.AllowCopyToClipoardCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.AllowCopyToClipoardCheckBox.Location = new System.Drawing.Point(220, 3);
            this.AllowCopyToClipoardCheckBox.Margin = new System.Windows.Forms.Padding(3, 3, 12, 3);
            this.AllowCopyToClipoardCheckBox.Name = "AllowCopyToClipoardCheckBox";
            this.AllowCopyToClipoardCheckBox.Size = new System.Drawing.Size(203, 21);
            this.AllowCopyToClipoardCheckBox.TabIndex = 12;
            this.AllowCopyToClipoardCheckBox.Text = "Show \'Copy to clipoard button\'";
            this.PWalletToolTip.SetToolTip(this.AllowCopyToClipoardCheckBox, "Enables a \'Copy\' button to appear next to each password, simplifying usage of pas" +
                    "sword.");
            this.AllowCopyToClipoardCheckBox.UseVisualStyleBackColor = true;
            this.AllowCopyToClipoardCheckBox.CheckedChanged += new System.EventHandler(this.SecurityCheckBox_CheckedChanged);
            // 
            // ShowPlainPasswordsCheckBox
            // 
            this.ShowPlainPasswordsCheckBox.AutoSize = true;
            this.ShowPlainPasswordsCheckBox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.ShowPlainPasswordsCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ShowPlainPasswordsCheckBox.Location = new System.Drawing.Point(3, 3);
            this.ShowPlainPasswordsCheckBox.Margin = new System.Windows.Forms.Padding(3, 3, 12, 3);
            this.ShowPlainPasswordsCheckBox.Name = "ShowPlainPasswordsCheckBox";
            this.ShowPlainPasswordsCheckBox.Size = new System.Drawing.Size(202, 21);
            this.ShowPlainPasswordsCheckBox.TabIndex = 10;
            this.ShowPlainPasswordsCheckBox.Text = "Show passwords as visible text";
            this.PWalletToolTip.SetToolTip(this.ShowPlainPasswordsCheckBox, "Enables the passwords to appear even when they are not selected by mouse.");
            this.ShowPlainPasswordsCheckBox.UseVisualStyleBackColor = true;
            this.ShowPlainPasswordsCheckBox.CheckedChanged += new System.EventHandler(this.SecurityCheckBox_CheckedChanged);
            // 
            // SelectedAreaLabel
            // 
            this.SelectedAreaLabel.AutoSize = true;
            this.SelectedAreaLabel.Location = new System.Drawing.Point(6, 16);
            this.SelectedAreaLabel.Name = "SelectedAreaLabel";
            this.SelectedAreaLabel.Size = new System.Drawing.Size(76, 13);
            this.SelectedAreaLabel.TabIndex = 1;
            this.SelectedAreaLabel.Text = "Selected area:";
            // 
            // DeleteAreaButton
            // 
            this.DeleteAreaButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.DeleteAreaButton.Enabled = false;
            this.DeleteAreaButton.Location = new System.Drawing.Point(370, 11);
            this.DeleteAreaButton.Name = "DeleteAreaButton";
            this.DeleteAreaButton.Size = new System.Drawing.Size(75, 23);
            this.DeleteAreaButton.TabIndex = 4;
            this.DeleteAreaButton.Text = "Delete";
            this.PWalletToolTip.SetToolTip(this.DeleteAreaButton, "Irrevocably deletes a security area (represented as a tab).");
            this.DeleteAreaButton.UseVisualStyleBackColor = true;
            this.DeleteAreaButton.Click += new System.EventHandler(this.DeleteAreaButton_Click);
            // 
            // SelectedAreaComboBox
            // 
            this.SelectedAreaComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.SelectedAreaComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.SelectedAreaComboBox.FormattingEnabled = true;
            this.SelectedAreaComboBox.Location = new System.Drawing.Point(111, 13);
            this.SelectedAreaComboBox.Name = "SelectedAreaComboBox";
            this.SelectedAreaComboBox.Size = new System.Drawing.Size(253, 21);
            this.SelectedAreaComboBox.TabIndex = 3;
            this.PWalletToolTip.SetToolTip(this.SelectedAreaComboBox, "Select security area which you want to change or delete.");
            // 
            // AddNewAreaGroupBox
            // 
            this.AddNewAreaGroupBox.Controls.Add(this.AddAreaTextBox);
            this.AddNewAreaGroupBox.Controls.Add(this.AddAreaLabel);
            this.AddNewAreaGroupBox.Controls.Add(this.AddAreaButton);
            this.AddNewAreaGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
            this.AddNewAreaGroupBox.Location = new System.Drawing.Point(3, 3);
            this.AddNewAreaGroupBox.Name = "AddNewAreaGroupBox";
            this.AddNewAreaGroupBox.Size = new System.Drawing.Size(450, 48);
            this.AddNewAreaGroupBox.TabIndex = 0;
            this.AddNewAreaGroupBox.TabStop = false;
            this.AddNewAreaGroupBox.Text = "Add new area";
            // 
            // AddAreaTextBox
            // 
            this.AddAreaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.AddAreaTextBox.Location = new System.Drawing.Point(111, 19);
            this.AddAreaTextBox.Name = "AddAreaTextBox";
            this.AddAreaTextBox.Size = new System.Drawing.Size(253, 20);
            this.AddAreaTextBox.TabIndex = 1;
            this.PWalletToolTip.SetToolTip(this.AddAreaTextBox, "Give a name for new security area that will appear as a tab.");
            this.AddAreaTextBox.TextChanged += new System.EventHandler(this.AddAreaTextBox_TextChanged);
            // 
            // AddAreaLabel
            // 
            this.AddAreaLabel.AutoSize = true;
            this.AddAreaLabel.Location = new System.Drawing.Point(8, 22);
            this.AddAreaLabel.Name = "AddAreaLabel";
            this.AddAreaLabel.Size = new System.Drawing.Size(85, 13);
            this.AddAreaLabel.TabIndex = 1;
            this.AddAreaLabel.Text = "New area name:";
            // 
            // AddAreaButton
            // 
            this.AddAreaButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.AddAreaButton.Enabled = false;
            this.AddAreaButton.Location = new System.Drawing.Point(370, 17);
            this.AddAreaButton.Name = "AddAreaButton";
            this.AddAreaButton.Size = new System.Drawing.Size(75, 23);
            this.AddAreaButton.TabIndex = 2;
            this.AddAreaButton.Text = "Add";
            this.PWalletToolTip.SetToolTip(this.AddAreaButton, "Adds new security area (appearing as tab).");
            this.AddAreaButton.UseVisualStyleBackColor = true;
            this.AddAreaButton.Click += new System.EventHandler(this.AddAreaButton_Click);
            // 
            // SummaryGroupBox
            // 
            this.SummaryGroupBox.Controls.Add(this.CurrentFileLabel);
            this.SummaryGroupBox.Controls.Add(this.CloseButon);
            this.SummaryGroupBox.Controls.Add(this.ChangeCredentialsButton);
            this.SummaryGroupBox.Controls.Add(this.SaveButon);
            this.SummaryGroupBox.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.SummaryGroupBox.Location = new System.Drawing.Point(3, 153);
            this.SummaryGroupBox.Name = "SummaryGroupBox";
            this.SummaryGroupBox.Size = new System.Drawing.Size(450, 72);
            this.SummaryGroupBox.TabIndex = 2;
            this.SummaryGroupBox.TabStop = false;
            // 
            // CurrentFileLabel
            // 
            this.CurrentFileLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.CurrentFileLabel.AutoEllipsis = true;
            this.CurrentFileLabel.Location = new System.Drawing.Point(5, 21);
            this.CurrentFileLabel.Name = "CurrentFileLabel";
            this.CurrentFileLabel.Size = new System.Drawing.Size(438, 13);
            this.CurrentFileLabel.TabIndex = 3;
            this.CurrentFileLabel.Text = "(no file)";
            // 
            // CloseButon
            // 
            this.CloseButon.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.CloseButon.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.CloseButon.Location = new System.Drawing.Point(336, 43);
            this.CloseButon.Name = "CloseButon";
            this.CloseButon.Size = new System.Drawing.Size(108, 23);
            this.CloseButon.TabIndex = 23;
            this.CloseButon.Text = "Save and Close";
            this.PWalletToolTip.SetToolTip(this.CloseButon, "Saves PWallet data and closes application.");
            this.CloseButon.UseVisualStyleBackColor = true;
            this.CloseButon.Click += new System.EventHandler(this.CloseButon_Click);
            // 
            // ChangeCredentialsButton
            // 
            this.ChangeCredentialsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.ChangeCredentialsButton.Enabled = false;
            this.ChangeCredentialsButton.Location = new System.Drawing.Point(130, 43);
            this.ChangeCredentialsButton.Name = "ChangeCredentialsButton";
            this.ChangeCredentialsButton.Size = new System.Drawing.Size(119, 23);
            this.ChangeCredentialsButton.TabIndex = 21;
            this.ChangeCredentialsButton.Text = "Change credentials";
            this.PWalletToolTip.SetToolTip(this.ChangeCredentialsButton, "You can change your credentials securing your PWallet.");
            this.ChangeCredentialsButton.UseVisualStyleBackColor = true;
            this.ChangeCredentialsButton.Click += new System.EventHandler(this.ChangeCredentialsButton_Click);
            // 
            // SaveButon
            // 
            this.SaveButon.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.SaveButon.Location = new System.Drawing.Point(255, 43);
            this.SaveButon.Name = "SaveButon";
            this.SaveButon.Size = new System.Drawing.Size(75, 23);
            this.SaveButon.TabIndex = 22;
            this.SaveButon.Text = "Save";
            this.PWalletToolTip.SetToolTip(this.SaveButon, "Saves all information in PWallet. Remember that just closing PWallet also saves y" +
                    "our data.");
            this.SaveButon.UseVisualStyleBackColor = true;
            this.SaveButon.Click += new System.EventHandler(this.SaveButon_Click);
            // 
            // IconsImageList
            // 
            this.IconsImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("IconsImageList.ImageStream")));
            this.IconsImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.IconsImageList.Images.SetKeyName(0, "TabIconSummary");
            this.IconsImageList.Images.SetKeyName(1, "TabIconArea");
            // 
            // PWalletForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.CloseButon;
            this.ClientSize = new System.Drawing.Size(464, 255);
            this.Controls.Add(this.MainTabControl);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize = new System.Drawing.Size(420, 260);
            this.Name = "PWalletForm";
            this.Text = "P-Wallet";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PWalletForm_FormClosing);
            this.Load += new System.EventHandler(this.PWalletForm_Load);
            this.MainTabControl.ResumeLayout(false);
            this.SummaryTabPage.ResumeLayout(false);
            this.EditDeleteAreaGroupBox.ResumeLayout(false);
            this.EditDeleteAreaGroupBox.PerformLayout();
            this.SecurityTableLayoutPanel.ResumeLayout(false);
            this.SecurityTableLayoutPanel.PerformLayout();
            this.AddNewAreaGroupBox.ResumeLayout(false);
            this.AddNewAreaGroupBox.PerformLayout();
            this.SummaryGroupBox.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TabControl MainTabControl;
        private System.Windows.Forms.TabPage SummaryTabPage;
        private System.Windows.Forms.GroupBox EditDeleteAreaGroupBox;
        private System.Windows.Forms.GroupBox AddNewAreaGroupBox;
        private System.Windows.Forms.TextBox AddAreaTextBox;
        private System.Windows.Forms.Button AddAreaButton;
        private System.Windows.Forms.GroupBox SummaryGroupBox;
        private System.Windows.Forms.Button CloseButon;
        private System.Windows.Forms.Button SaveButon;
        private System.Windows.Forms.Label SelectedAreaLabel;
        private System.Windows.Forms.ComboBox SelectedAreaComboBox;
        private System.Windows.Forms.ImageList IconsImageList;
        private System.Windows.Forms.Button DeleteAreaButton;
        private System.Windows.Forms.TableLayoutPanel SecurityTableLayoutPanel;
        private System.Windows.Forms.CheckBox ShowPlainPasswordsCheckBox;
        private System.Windows.Forms.CheckBox AllowExtendedTextCheckBox;
        private System.Windows.Forms.CheckBox AllowCopyToClipoardCheckBox;
        private System.Windows.Forms.Label CurrentFileLabel;
        private System.Windows.Forms.Label AddAreaLabel;
        private System.Windows.Forms.Button ChangeCredentialsButton;
        private System.Windows.Forms.ToolTip PWalletToolTip;

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Czech Republic Czech Republic
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions