public virtual void DisplayItem(object itemIn)
        {
            item = (CryptoEditorCreditCardItem)itemIn;

            creditcard.Text = "";
            name.Clear();
            name2.Clear();
            company.Clear();
            number.Clear();
            verification.Clear();
            month.Text = "";
            year.Text = "";
            notes.Clear();

            BringToFront();

            if (item == null)
            {
                this.Enabled = false;
                return;
            }

            this.Enabled = true;

            // Fill in fields ...
            creditcard.Text = item.Type;
            name.Text = item.Name;
            name2.Text = item.Name2;
            company.Text = item.Company;
            number.Text = item.Number;
            verification.Text = item.Security;
            month.Text = item.ExpMonth;
            year.Text = item.ExpYear;
            notes.Text = item.Notes;
        }
        public CryptoEditorCreditCardForm(CryptoEditorCreditCardItem item)
        {
            this.item = item;
            InitializeComponent();

            for (int i = 2010; i <= 2050; i++)
            {
                year.Items.Add(i);
            }

            creditcard.Text = item.Type;
            name.Text = item.Name;
            name2.Text = item.Name2;
            company.Text = item.Company;
            notes.Text = item.Notes;
            number.Text = item.Number;
            verification.Text = item.Security;
            month.Text = item.ExpMonth;
            year.Text = item.ExpYear;
        }