Exemplo n.º 1
0
        void UpdateCurrentItem()
        {
            CryptListItem listItem = (CryptListItem)cryptList.Items[cryptList.SelectedIndex];

            currentVolume = listItem.CryptVolume;
            label4.Text   = currentVolume.Label;
            button3.Text  = currentVolume.Unlocked ? "Lock Vault" : "Unlock Vault";
            if (currentVolume.Unlocked)
            {
            }
            else
            {
            }
        }
Exemplo n.º 2
0
        void UpdateCurrentItem()
        {
            CryptListItem listItem = (CryptListItem)cryptList.Items[cryptList.SelectedIndex];

            currentVolume = listItem.CryptVolume;
            label4.Text   = string.Format("{0} [{1}]", currentVolume.Label, currentVolume.VolumeVersion);
            button3.Text  = currentVolume.Unlocked ? "Lock Vault" : "Unlock Vault";
            if (currentVolume.Unlocked)
            {
            }
            else
            {
            }
        }