Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            firstItemSelected = false;
            cancelSearch      = false;

            gBoxLogs.Enabled = false;
            gBoxFavs.Enabled = false;

            infos = TmpInfo.Instance;

            new Settings().loadSettings();

            editLV = new EditListView();
            editLV.addGroups(new ListView[] { lViewLogs, lViewFavorites });

            xml = new UseXML();
            tc  = new UseTrueCrypt();

            content      = new Content(this);
            content.Dock = DockStyle.Fill;
            pCustomAction.Controls.Add(content);

            lastOrderB = btOrderGroups;
            lastOrderB.FlatAppearance.BorderSize = 2;

            Thread.Sleep(2000);
        }
Esempio n. 2
0
        public UseTrueCrypt()
        {
            infos = TmpInfo.Instance;

            settings = infos.SettingValues;

            exe        = settings[0];
            mountDrive = settings[2];
        }
Esempio n. 3
0
        public Settings()
        {
            infos = TmpInfo.Instance;

            settingKeys = new string[] { "trueCpath", "trueCfile", "trueCMountDrive", "logXmlPath", "autoMount", "autoDismount", "updateVersion" };
            listGroups  = new string[] {
                "Event", "Fun", "Game & Co", "Health", "Home", "Knowledge",
                "Mail", "Management", "Mobile", "Music", "Payment", "Service", "Shop", "Social",
                "Software", "Student", "Travel", "TV & Co", "Work", "Food", "TU-DD"
            };
        }
Esempio n. 4
0
        public InfoWindows()
        {
            InitializeComponent();

            info = TmpInfo.Instance;

            columHeaderNames = new string[] { "Name", "Changed", "Created", "Website", "Mail", "Username", "Password", "Memo", "Favorite", "Group", "ID", "Index", "IndexAz" };
            valueNames       = new string[] { "Name", "ChangeDate", "CreationDate", "Website", "Mail", "Username", "Password", "Memo", "Fav", "GroupName", "ID", "Index", "IndexAz" };
            visibleStates    = new int[] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 };
            editStates       = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };

            FillTreeView();
        }
Esempio n. 5
0
        public SettingWindow()
        {
            InitializeComponent();

            infos = TmpInfo.Instance;

            driveLetters = new List <string>()
            {
                "E", "G", "H", "I", "J", "K", "L",
                "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V",
                "V", "W", "X", "Y", "Z"
            };
        }
Esempio n. 6
0
        public UpdateWindow()
        {
            InitializeComponent();

            infos = TmpInfo.Instance;

            availableVersions = new List <string>()
            {
                "0.0", "0.1", "0.2", "0.3"
            };

            currentVersion = infos.CurrentVersion;
            currentVersion = String.IsNullOrEmpty(currentVersion) ? availableVersions[0] : currentVersion;

            nextVersion = availableVersions[availableVersions.IndexOf(currentVersion) + 1];

            lCurrentV.Text += $" {currentVersion}";
            lLatestV.Text  += $" {availableVersions.Last()}";

            createVersions();
            showChanges();
        }
Esempio n. 7
0
 public UseXML()
 {
     infos = TmpInfo.Instance;
     loadXML();
 }
Esempio n. 8
0
 public LoginJob(MainWindow main)
 {
     infos     = TmpInfo.Instance;
     tc        = new UseTrueCrypt();
     this.main = main;
 }
Esempio n. 9
0
        public Login()
        {
            InitializeComponent();

            infos = new TmpInfo();
        }
Esempio n. 10
0
 public EditListView()
 {
     infos = TmpInfo.Instance;
 }