public CreateEntryForm()
        {
            InitializeComponent();

            this.DrawComboBox();
            this.mailComboBox.SelectedIndex = 0;
            this.keyTextBox.Text            = CryptedRandomString.GenerateIdentifier(30, true, true, true, true);
        }
Exemplo n.º 2
0
 private void Generate()
 {
     this.keyTextBox.Text = CryptedRandomString.GenerateIdentifier(
         (int)numericUpDown1.Value,
         checkedListBox1.GetItemChecked(0),
         checkedListBox1.GetItemChecked(1),
         checkedListBox1.GetItemChecked(2),
         checkedListBox1.GetItemChecked(3));
 }
Exemplo n.º 3
0
        public AddDialog()
        {
            InitializeComponent();

            this.DrawMailComboBox();

            if (this.mailComboBox.Items.Count > 1)
            {
                this.mailComboBox.SelectedIndex = 1;
            }
            else
            {
                this.mailComboBox.SelectedIndex = 0;
            }

            this.keyTextBox.Text = CryptedRandomString.GenerateIdentifier(30, true, true, true, true);
        }