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); }
public UseTrueCrypt() { infos = TmpInfo.Instance; settings = infos.SettingValues; exe = settings[0]; mountDrive = settings[2]; }
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" }; }
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(); }
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" }; }
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(); }
public UseXML() { infos = TmpInfo.Instance; loadXML(); }
public LoginJob(MainWindow main) { infos = TmpInfo.Instance; tc = new UseTrueCrypt(); this.main = main; }
public Login() { InitializeComponent(); infos = new TmpInfo(); }
public EditListView() { infos = TmpInfo.Instance; }