Esempio n. 1
0
        public PasswordManage(DatafileManager datafileManager)
        {
            InitializeComponent();
            this.Title = Utils.getDefaultWindowTitle();

            fileManager = datafileManager;
            updateData();
            accountListView.ItemsSource = datafile.AccountTable;
        }
Esempio n. 2
0
 public MainWindow()
 {
     InitializeComponent();
     this.Title            = Utils.getDefaultWindowTitle();
     WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
     fileManager           = new DatafileManager();
     datafile = fileManager.getCurrentValidDataFile();
     rootPasswordHint.Content = "[힌트] " + (datafile.RootPasswordHint == "" ? "초기 비밀번호는 root입니다." : datafile.RootPasswordHint);
     versionInfo.Content      = Utils.getDevelopmentInfo();
 }
Esempio n. 3
0
        public ModifyAccountWindow(DatafileManager manager, String id)
        {
            InitializeComponent();
            fileManager = manager;
            datafile    = fileManager.getCurrentValidDataFile();
            AccountInfo account = datafile.getAccountInfo(id);

            lblQuestion.Content = formatTitle(account.InfoTitle);
            itemID = id;
        }
Esempio n. 4
0
        public AddNewKeyPairWindow(DatafileManager manager, String id)
        {
            InitializeComponent();
            fileManager = manager;
            datafile    = fileManager.getCurrentValidDataFile();
            ID_KEY      = id;

            AccountInfo accountInfo = datafile.getAccountInfo(ID_KEY);

            this.Title = "'" + accountInfo.InfoTitle + "' 에 새로운 키페어 추가";
        }
Esempio n. 5
0
        public ModifyKeyPairWindow(DatafileManager manager, String accountId, String keyPairId)
        {
            InitializeComponent();
            fileManager        = manager;
            datafile           = fileManager.getCurrentValidDataFile();
            encryptedAccountId = accountId;
            encryptedKeyPairId = keyPairId;

            EncryptedKeyMap keyInfo = datafile.getAccountInfo(accountId).getEncryptedKeyMapById(keyPairId);

            newKeyName.Text  = keyInfo.KeyTitle;
            newKeyValue.Text = keyInfo.PureValue;
        }
Esempio n. 6
0
 public AddNewAccountWindow(DatafileManager manager)
 {
     InitializeComponent();
     fileManager = manager;
     datafile    = fileManager.getCurrentValidDataFile();
 }
Esempio n. 7
0
 public RootPasswordSetting(DatafileManager manager)
 {
     InitializeComponent();
     fileManager = manager;
     datafile    = fileManager.getCurrentValidDataFile();
 }